Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2014
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. def leapcheck(year2):
  2. lyear = year2
  3. if lyear / 4 != int:
  4. print "i'm in the first if"
  5. lyear = year
  6. elif lyear /100 != int:
  7. print "i'm in the second"
  8. lyear = leapyear
  9. elif lyear / 400 !=int:
  10. print "i'm in the third"
  11. lyear = year
  12. else:
  13. lyear = leapyear
  14. return lyear
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement