05-30-2010, 06:36 AM
Nice for your first code, some minor adjustments can be made though. First,
==
All the empty prints can be substituted with a \n.
Next:
It is best to use floats rather than ints for better accuracy:
Code:
print "Kelvin to Fahrenheit Converter by Bradley"
print
print
Code:
print "Kelvin to Fahrenheit Converter by Bradley\n\n"
Next:
Code:
Kelvin = int(raw_input("Enter Kelvin: "))
Code:
Kelvin = float(raw_input("Enter Kelvin: "))