Temperature

Run Settings
LanguagePython
Language Version
Run Command
a = int(input('Pleas select 1 (Celsius) or 2 (Fahrenheit):')) temperature= int(input ('Please input the temparture:')) if a==1: f_temperature = 9/5*temperature +32 print ('Celsius', temperature,'degree = Fahrenheit', f_temperature ,'degree') else: c_temperature = 5/9*(temperature -32) print( 'Fahrenheit' , temperature,'degree = Celsius' ,c_temperature ,'degree')
Editor Settings
Theme
Key bindings
Full width
Lines