Eon = 0.0 # Variable for eons to convert Year = 0.0 # Variable for eons to years Week = 0.0 # Variable for years to weeks Day = 0.0 # Variable for weeks to days Seconds = 0.0 # Variable for days to seconds Eon = float(raw_input(" How many Eon are you convering?: ")) # Imput the amount of eons to convert print Eon # Print eons Year = float(Eon*500000000) # Print eons to years print Year # Print year Week = float(Year*52) # Print year to week print Week # Print week Day = float(Week*7) # Print week to day print Day # Print day Seconds =(Day*3600) # Print day to seconds print Seconds # Print seconds
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