Summation and Transformation

Please enter a number 999
 >>> b=input( ' Please enter another number ' )
        
Please enter another number 666
>>> suml=int(a)+int(b)
        
>>> print ( ' The sum of the two numbers is:{} ' .format(suml))
        
The sum of the two numbers is: 1665
>>> a=input( ' Please input degrees Celsius ' )
        
Please enter 40 degrees Celsius
>>> suml=int(a)*9/5+32
        
>>> print ( ' Fahrenheit is:{} ' .format(suml))
        
Fahrenheit is: 104.0
>>>

 

Guess you like

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