Python Celsius to Fahrenheit conversion program
Python
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"
|