mirror of
https://github.com/tiennm99/CodePower.git
synced 2026-10-04 15:01:13 +00:00
chore: migrate
This commit is contained in:
1 parent
3e0dc3b68b
commit
30694c00fe
9 files changed
+47
-1
No files matched your search
@@ -0,0 +1,8 @@
|
||||
def is_leap(year):
|
||||
leap = False
|
||||
if (year % 4 == 0 and year % 100 != 0) or year % 400 == 0:
|
||||
leap = True
|
||||
return leap
|
||||
|
||||
year = int(input())
|
||||
print(is_leap(year))
|
||||
Reference in new issue
Block a user