RootOfTheNull

Python Challenge! 15

Jan 26th, 2015
271
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import datetime, calendar
  2.  
  3. for year in range( 1006, 1996, 10 ):
  4.     if datetime.datetime( year, 1, 27 ).weekday() == 1:
  5.         if ( calendar.isleap( year ) ):
  6.             print "leap year",
  7.         print year
RAW Paste Data