Question: Requirements: 1 . The user will input the temperatures as a list of numbers ( in Celsius ) , separated by spaces. 2 . Use
Requirements: The user will input the temperatures as a list of numbers in Celsius separated by spaces. Use lists to store the temperatures and analyze the data. Implement the following features: o Count heat waves: A heat wave is defined as or more consecutive days where the temperature is above C o Find the longest cold streak: A cold streak is defined as consecutive days with temperatures below C You need to find the longest streak of such days. o Calculate the average temperature of all the days.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
