How to Convert Celsius To Fahrenheit using Python?

PythonServer Side ProgrammingProgramming

To obtain farenheight equivalent of celsius, multiply by 1.8 and add 32

f=c*1.8+32

Following interpreter activity shows the conversion

>>> c=50
>>> f=c*1.8+32
>>> f
122.0
raja
Updated on 02-Mar-2020 07:37:23

Advertisements