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
Published on 27-Feb-2018 19:23:58
Advertisements