1
0
forked from tdwojak/Python2017

Update 'labs02/task02.py'

This commit is contained in:
s45164 2017-12-01 17:10:54 +00:00
parent 819b314e17
commit 50e576e7d9

View File

@ -6,6 +6,10 @@
"""
def days_in_year(days):
if (days%4==0 and days%100!=0) or days%400==0:
return 366
else:
return 365
pass
def tests(f):