
Celsius para Fahrenheit
The mission is in Blocked Mode.
Access to the solutions is blocked for a day or two (even after you share your own), until we'll have enough solutions for you to check.
All users who've solved the mission will get the notifications about their opening.
Prática: Reforce o conhecimento adquirido. Aplique as técnicas aprendidas e repita os exercícios até se sentir confiante.
Enunciado
Edmundo, um meteorologista, precisa de uma ferramenta para converter temperaturas de Celsius para Fahrenheit, para facilitar a comunicação com colegas internacionais. A ferramenta deve funcionar com qualquer valor que ele inserir.
Entrada: Um número inteiro representando a temperatura em graus Celsius.
Saída: Um número float representando a temperatura em graus Fahrenheit.
Exemplo:
celsius_para_fahrenheit(0) == 32.0 celsius_para_fahrenheit(-40) == -40.0 celsius_para_fahrenheit(100) == 212.0
Habilidades
- Operações Aritméticas Básicas