55. Python Program to Convert Celsius to Fahrenheit from Input
MediumConvert input
Overview
Read a number, apply a formula, and show the result neatly.
Problem Statement
Read a temperature in degrees Celsius and print it in Fahrenheit with one decimal place. For example, for 100, print:
100.0 C = 212.0 F
Use input() with no prompt text: the tests type the input for you, and a prompt would end up in your output.
Input
One value per line, in this order. Example:
100
Output
The output for that example:
100.0 C = 212.0 F
The tests try 3 different inputs.