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

6 lines
111 B
Python
Executable File

celcius = float(input('°C: '))
fahrenheit = 1.8 * celcius + 32
print(f'\n{celcius} °C = {fahrenheit} °F')