nick34992
5/18/2016 - 6:27 PM

Convert Celcius to Fahrenheit - Python

Convert Celcius to Fahrenheit - Python

#!/usr/bin/python
# -*- coding: utf-8 -*-
## utf-8 encoding for degrees character

c = float(raw_input('Enter Temperature in Celsius: '))
f = c * 1.8 + 32
print ("Same as Temperature: {0}℉".format(str(f)))