Python Program to Convert Celsius To Fahrenheit - Python for Data Analytics

Python Programs | Python Tricks | Solution for problems | Data Cleaning | Data Science

Python Program to Convert Celsius To Fahrenheit

Source Code:

# change this value for a different result
celsius = 37.5

# calculate fahrenheit
fahrenheit = (celsius * 1.8) + 32
print('%0.1f degree Celsius is equal to %0.1f degree Fahrenheit' %(celsius,fahrenheit))


Output

Screen-shot

No comments:

Post a Comment