Converting between temperature scales.
Roughwork.
|
1 2 3 |
degree_Celsius = float(input("Input degrees Celsius: ")) degree_Fahrenheit = degree_Celsius * (9 / 5) + 32 print(degree_Fahrenheit) |
One has a slight fever when one’s body temperature is , or in degrees Fahrenheit,
|
1 2 |
Input degrees Celsius: 37.8 100.03999999999999 |
The rest of conversion of temperature scales, in Celsius, Fahrenheit, Kelvin, Rankine, etc., are left for the reader to code.
