1
2#!/usr/bin/env python
3Celsius = int(raw_input("Enter a temperature in Celsius: "))
4
5Fahrenheit = 9.0/5.0 * Celsius + 32
6
7print "Temperature:", Celsius, "Celsius = ", Fahrenheit, " F"
8
1#!/usr/bin/env python
2Fahrenheit = int(raw_input("Enter a temperature in Fahrenheit: "))
3
4Celsius = (Fahrenheit - 32) * 5.0/9.0
5
6print "Temperature:", Fahrenheit, "Fahrenheit = ", Celsius, " C"
7