Continuando a lista de exercícios de Estrutura Sequencial original dadocumentação Python …
O 9° diz assim:
“Faça um Programa que peça a temperatura em graus Farenheit, transforme e mostre a temperatura em graus Celsius. C = (5 * (F-32) / 9)”
Chiiiiiiiiiii!! Complico, hein?
Na verdade não:
Vamos fazer um fluxograma para entender melhor:
(CLIQUE PARA AMPLIAR ;D)
Viu como ficou mais fácil de entender!!
Escrevendo o Programa!! uh!!
>>f = input(“Digite o valor de f: “)
>>vT = f – 32 // vt de variável temporária ;D
>>c = 5 * vT / 9
>>print c
DEIXE SUAS DUVIDAS NOS COMENTÁRIOS, OU ENVIE UM EMAIL PARA: powerpython@hotmail.com.br.
Me segue no Twitter !!: @powerpython
COMENTEM!!
Pingback: Aula Python – 10 | powerpython
Pingback: Aula Python – If else | powerpython
Pingback: Aula Python – 13 – Estrutura sequencial | powerpython
Pingback: Aula Python – 14 – Estrutura Sequencial | powerpython
Pingback: Aula Python – 15 – Estrutura Sequencial | powerpython
Pingback: Aula Python – 16 – Estrutura Sequencial | powerpython