You are viewing a single comment's thread. Return to all comments →
def dayOfProgrammer(year): date_ = '13' year = int(year) if year == 1918: return f'26.09.{year}' if year <= 1917 and year % 4 == 0: date_ = '12' if year >= 1919 and ((year % 400 == 0) or (year % 4 == 0 and year % 100 != 0)): date_ = '12' return f'{date_}.09.{year}'
Seems like cookies are disabled on this browser, please enable them to open this website
Day of the Programmer
You are viewing a single comment's thread. Return to all comments →