Guest User

Untitled

a guest
Dec 17th, 2018
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. year = int ( input ("Enter the year to verify - "))
  2.  
  3. if year%4 == 0:
  4. if year%100 == 0 :
  5. if year%400 == 0 :
  6. print ( year, " is a leap year")
  7. else :
  8. print ( year, " is not a leap year")
  9. else :
  10. print ( year, " is a leap year" )
  11. else :
  12. print ( year, " is not a leap year")
Add Comment
Please, Sign In to add comment