Continuando a lista de exercícios de Estrutura Sequencial original da documentação Python …
ESSE EXERCÍCIO É PRATICAMENTE QUASE O MESMO DO DE ANTES
( CLIQUE AQUI PARA VER )
O 10 exercício diz exatamente assim:
“Faça um Programa que peça a temperatura em graus Celsius, transforme e mostre em graus Farenheit.” Formula a parte : °F = °C × 1,8 + 32
Vamos ver como fica o fluxograma:
O programa fica assim:
>>c = input(“Digite o valor de c : “)
>>vt = c * 1.8
>>f = vt + 32
>>print f
DEIXE SUAS DUVIDAS NOS COMENTÁRIOS, OU ENVIE UM EMAIL PARA: powerpython@hotmail.com.br.
Me segue no Twitter !!: @powerpython
COMENTEM!!
O diagrama não mostra exatamente o mesmo que o algoritmo descrito.
O terceiro passo esta como Adicione 32 a C, não seria Adicione 32 a vT?
MINHAS SINCERAS DESCULPAS!!! Já estou arrumando!! Obrigado pelo Comentário
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