10 lines
243 B
Python
10 lines
243 B
Python
|
|
# Runestone.Academy thinkcspy course
|
||
|
|
# Chapter 2
|
||
|
|
# Problem 12
|
||
|
|
|
||
|
|
fahrenheit = input('What is the temperature in degrees fahrenheit?')
|
||
|
|
F = int(fahrenheit)
|
||
|
|
|
||
|
|
C = (F - 32) * 5/9
|
||
|
|
|
||
|
|
print(F, 'degrees fahrenheit is equivalent to', C, 'degrees celcius.')
|