You are viewing a single comment's thread. Return to all comments →
python
def dayOfProgrammer(year): if year==1918: return '26.09.1918' elif year > 1918 and ((int(year)%400==0) or (int(year)%4==0 and int(year)%100!=0)): return '12.09.'+str(year) elif year < 1918 and (int(year)%4==0): return '12.09.'+str(year) else: return '13.09.'+str(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 →
python