Skip to content

Commit a37c8ca

Browse files
Update FinancialHolidays.py
1 parent 61f9d70 commit a37c8ca

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/FinancialHolidays.py

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from datetime import date
2+
from holidays import *
3+
4+
year = int(input("Enter year: "))
5+
for date, name in sorted(financial_holidays(market = 'LSE', years = year).items()): # Replace LSE with your financial market code.
6+
print(date, name)

0 commit comments

Comments
 (0)