Code Library
Home Submit Free Hosting Link To Us Contacts

Python Celsius to Fahrenheit conversion program

Python Celsius to Fahrenheit conversion program Python Python Celsius to Fahrenheit conversion program Download (.zip)



#! /bin/env python
# A simple program to convert Celsius to Fahrenheit

freezing = 32 #Since freezing is 32F
celsius = input("Please enter the temperature in Celsius: ")
fahrenheit = 9 * celsius/5 + freezing
print "The temperature in Fahrenheit is", fahrenheit, "degrees"




  • PythonCelsius to Fahrenheit conversion program Currency convertor


Tatet