#Abe Wolfe Will give you your age in seconds # 3/7/18 age= int (raw_input("what year were you born")) print("") print age year2= int (raw_input("what is the year")) print("") print year2 age2= year2 - age year3= ("your age is ") print year3 print age2 secondsyear=60*60*24*365 old=( "you are this old in seconds") ageseconds= secondsyear*age2 print old print ageseconds
Run
Reset
Share
Import
Link
Embed
Language▼
English
中文
Python Fiddle
Python Cloud IDE
Follow @python_fiddle
Browser Version Not Supported
Due to Python Fiddle's reliance on advanced JavaScript techniques, older browsers might have problems running it correctly. Please download the latest version of your favourite browser.
Chrome 10+
Firefox 4+
Safari 5+
IE 10+
Let me try anyway!
url:
Go
Python Snippet
Stackoverflow Question