uaveiro-leci/1ano/fp/aula01/ex02.py

5 lines
124 B
Python
Raw Normal View History

2022-10-11 19:27:51 +00:00
celcius = float(input('°C: '))
fahrenheit = 1.8 * celcius + 32
print('\n{} °C = {} °F'.format(celcius, fahrenheit))