Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write in Python language please Write, test and document a Python program, in a file called soufsll.py, to solve the following problem Snowfall amounts have

write in Python language please image text in transcribed
Write, test and document a Python program, in a file called soufsll.py, to solve the following problem Snowfall amounts have been recorded for the last N number of days. Given a value for N and the snowfall amounts the N days, compute and display, with appropriate labels, the following: (in centimetres) for each of the highest snowfall amount and the day number which had the highest s the lowest snowfall amount and the day number which had the lowest snowfall (assume all unique s the range of snowfall amounts (difference between highest and lowest) the average snowfall amount over the N days nowfall (assume all unique snowfall amounts) gram should not store all of the values entered and should not use the x),min or w functions For example, if the input is as follows 15 40 25 0 5 18 0 The input prompts, input and output from the program would be as follows (input shown in bloe Please enter the nusber of deys to be analysed for sowt all Enter the anount of snowfall: 15 Enter the asount of snowfal1 4 Enter the amount of snowfal1:25 Enter the ?ount of snowfall! 0 Enter the amount of snoufal1: 5 Enter the amount of snoufal1: 18 Enter the amount of snowfall: 18 The highest snowfall of 40,0 c. was on day 2 The lowest snowfall of e.e cm was on day 4 The range of snowfall amounts for 7 days is 40.0 cs The average snoufall amount for 7 days is 16.14 cRS

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Database System

Authors: Elmasri Ramez And Navathe Shamkant

7th Edition

978-9332582705

More Books

Students also viewed these Databases questions

Question

9. Mohawk Industries Inc.

Answered: 1 week ago

Question

8. Satyam Computer Services Limited

Answered: 1 week ago

Question

2. Explain how the role of training is changing.

Answered: 1 week ago