Advertisement
simeonshopov

1000 days after birth

Sep 12th, 2019
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. import datetime
  2. birth=input()
  3. birth_date=datetime.datetime.strptime(birth, "%d-%m-%Y")
  4. outcome=birth_date+datetime.timedelta(days=1000)
  5. print(datetime.datetime.strftime(outcome, "%d-%m-%Y"))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement