Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Don't change the code below
- year = int(input("Which year do you want to check? "))
- # Don't change the code above
- #Write your code below this line 👇
- a = year / 4
- b = year / 100
- c = year / 400
- if a != float:
- if b != float:
- if c != float:
- print("Leap Year")
- else:
- print("Not Leap")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement