311.csv #1

Open
s354567 wants to merge 17 commits from s354567/Python2018:master into master
Showing only changes of commit b819976d5c - Show all commits

View File

@ -6,7 +6,12 @@
"""
def days_in_year(days):
pass
if ((days % 4) == 0 and ((days % 100) != 0)) or ((days % 400) == 0):
dni=366
else:
dni=365
return dni
def tests(f):
inputs = [[2015], [2012], [1900], [2400], [1977]]