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

5 lines
110 B
Python
Raw Normal View History

celcius = float(input('°C: '))
fahrenheit = 1.8 * celcius + 32
2022-10-18 17:18:56 +00:00
print(f'\n{celcius} °C = {fahrenheit} °F')