We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15db891 commit f57dc3fCopy full SHA for f57dc3f
ex014.py
@@ -1,4 +1,4 @@
1
#Escreva um programa que converta uma temperatura digitando em graus Celsius para graus Fahrenheit.
2
-c = int(input('Digite o valor da temperatura em graus Celcius:'))
3
-f = ( c * 1.8) + 32
4
-print('Se a temperatura local é de {}C convertendo ficará {:.2f}F.'.format(c, f))
+celcius = int(input('Digite o valor da temperatura em graus Celcius:'))
+fahrenheit = ( celcius * 1.8) + 32
+print(f'Se a temperatura local é de {celcius}°C convertendo ficará {fahrenheit}°F.')
0 commit comments