AnandaVieira

Exercicio 10

Feb 25th, 2021
833
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.27 KB | None | 0 0
  1. # 10 - Faça um Programa que peça a temperatura em graus Celsius, transforme e mostre em graus Fahrenheit.
  2.  
  3. cel = float(input("Digite o valor da temperatura em Celsius: "))
  4. vt = cel * 1.8
  5. fah = vt + 32
  6. print('A temperatura Celsius convertida em graus Fahrenheit é de: ',fah)
Advertisement
Add Comment
Please, Sign In to add comment