Question: Requirements: 1 . The user will input the temperatures as a list of numbers ( in Celsius ) , separated by spaces. 2 . Use

Requirements: 1. The user will input the temperatures as a list of numbers (in Celsius), separated by spaces. 2. Use lists to store the temperatures and analyze the data. 3. Implement the following features: o Count heat waves: A heat wave is defined as 3 or more consecutive days where the temperature is above 30C. o Find the longest cold streak: A cold streak is defined as consecutive days with temperatures below 15C. 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 blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!