You should decide on the thresholds for determining whether a day is cool, warm or hot.

Khaleesi Herbert

Khaleesi Herbert

Answered question

2021-08-12

The sixth assignment involves writing a Python program to read in from the user the temperatures for ten consecutive days in Celsius and store them into a Python data structure such as a list or a tuple. The entire list should then be displayed. Next each temperature in the list should be converted to Fahrenheit and stored in another data structure of the same type and the entire list should be again be displayed. The formula for converting Celsius to Fahrenheit is °F = (°C × 1.8) + 32. Finally, the number of cool, warm and hot days should be counted and the number of each type of days should be displayed. You should decide on the thresholds for determining whether a day is cool, warm or hot..

Answer & Explanation

Adnaan Franks

Adnaan Franks

Skilled2021-08-13Added 92 answers

Theres

Do you have a similar question?

Recalculate according to your conditions!

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?