Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Generates the day of the week from a given date.
- import datetime
- user = input("What date would you like to check...")
- print ("That date was a:", datetime.date.today().strftime("%A"))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement