Skip to content

Commit d407b5d

Browse files
Update leapyear
1 parent 6ee0758 commit d407b5d

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

leapyear

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,4 @@ Explanation 0
3333
1990 is not a multiple of 4 hence it's not a leap year.
3434

3535
-------------------------------------------------------------------------------------------------------------------------
36-
def is_leap(year):
37-
if year % 100 ==0:
38-
return False
39-
if year % 400 ==0:
40-
return True
41-
if year%4==0:
42-
return True
43-
else:
44-
return False
45-
46-
year = int(input())
47-
print(is_leap(year))
36+

0 commit comments

Comments
 (0)