year = int(input())
#your code goes here
if year %4:
print("Not a leap year")
elif year %100:
print("Not a leap year")
elif year %400:
print("Leap year")
'PYTHON' 카테고리의 다른 글
Hatethis (0) | 2021.03.04 |
---|---|
First try was like: (0) | 2021.03.04 |
Statement only runs for true condition (0) | 2021.03.04 |
If not True: (0) | 2021.03.04 |
Fill in the blanks to print “Welcome” (0) | 2021.03.04 |