Guest User

Untitled

a guest
Aug 14th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. from datetime import date,time,timedelta
  2. d = int(input("Enter the year:"))
  3. while (d < 2025):
  4. d += 1
  5. dt = date(month = 4, day = 6, year = d)
  6. print(d,":",dt.strftime("%A"))
Add Comment
Please, Sign In to add comment