Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Leap year program
- dob = int(input("What year were you born in?: "))
- remainder = dob%4
- if remainder == 0:
- print ("You were born in a leap year")
- else:
- print ("You were not born in a leap year")
- print ("Thank you for taking part")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement