Summation, temperature conversion

n1=input( ' Please enter the first number ' )
Please enter the first number 12
>>> n2=input( ' Please enter the second number ' )
Please enter the second number 34
>>>= RESTART 
: C:/Users/macbook/AppData/Local/Programs/Python/Python35-32/numbers.py=
Please enter the first number 12
Please enter the second number 34
The sum of the two numbers is: 46 

a =input( ' Please enter a temperature in Celsius ' ) sum2 = int (a)* 9 / 5 + 32 print( ' Converted Fahrenheit: {} ' .format(sum2)) = RESTART: C:/Users/macbook/AppData/Local/Programs/Python/Python35-32 /numbers and .py= Please enter a temperature of 65 degrees Celsius Converted Fahrenheit: 149.0

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324612892&siteId=291194637