python_exercises/thinkcspy/Chapter-2-Exercises/problem11.py

10 lines
234 B
Python
Raw Permalink Normal View History

# Runestone.Academy thinkcspy course
# Chapter 2
# Problem 11
celcius = input('What is the temperature in degrees celsius?')
C = int(celcius)
F = (C * 9/5) + 32
print(C, 'degrees celcius is equivalent to', F, 'degrees fahrenheit.')