43. Python Program to Print a Temperature Report
HardNone & conversion
Overview
Put the whole chapter together: conversion, maths, f-strings, comparisons and rounding.
Problem Statement
A thermometer gives its reading as the text "36.6" (degrees Celsius). Store that text in a variable, convert it, and calculate the temperature in Fahrenheit with celsius * 9 / 5 + 32. Then print this report:
Temperature report
Celsius: 36.6
Fahrenheit: 97.9
Above 99 F: False
Rounded F: 98
Input
No input is required for this question.
Output
Temperature report
Celsius: 36.6
Fahrenheit: 97.9
Above 99 F: False
Rounded F: 98