Created
March 29, 2020 15:50
-
-
Save Deep18-03/40e2b857c5202383b27716bfd50be4bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import datetime | |
name=input("Enter your name") | |
age=int(input('enter yout age')) | |
now=datetime.datetime.now() | |
current_year=now.year | |
year=(current_year-age)+100 | |
print( name +' you will be at 100 in '+str(year)+' years' ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment