Celsius to Fahrenheit conversion in python

print “This program will convert a temperature in Celsius”
print “to the equivalent temperature in Fahrenheit”
c = input(“What is the temperature in Celsius you wish to convert? ”)
f = c * 9.0 / 5.0 + 32
print “The equivalent temperature in Fahrenheit is”, f

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.