Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please add comment lines list=[] for i in range(0,12): print( Enter rainfall of month ,(i+1), : ) n=float(input()) list.append(n) maximum=list[0] minimum=list[0] sum=0.0

Please add comment lines list=[] for i in range(0,12): print("Enter rainfall of month ",(i+1)," : ") n=float(input()) list.append(n) maximum=list[0] minimum=list[0] sum=0.0 for i in range(0,12): if(maximumif(minimum>list[i]): minimum=list[i] min_index=i+1 sum=sum+list[i] for i in range(0,12): if i==0: print("January\t",list[i]," inches") elif i==1: print("February\t",list[i]," inches") elif i==2: print("March\t",list[i]," inches") elif i==3: print("April\t",list[i]," inches") elif i==4: print("May\t",list[i]," inches") elif i==5: print("June\t",list[i]," inches") elif i==6: print("July\t",list[i]," inches") elif i==7: print("August\t",list[i]," inches") elif i==8: print("September\t",list[i]," inches") elif i==9: print("Octomber\t",list[i]," inches") elif i==10: print("November\t",list[i]," inches") elif i==11: print("December\t",list[i]," inches") print("Maximum rainfall is: ",maximum," inches") print("Minimum rainfall is: ",minimum," inches") print("Average rainfall is: ",sum/12," inches")

Please add comment lines

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

Data And Databases

Authors: Jeff Mapua

1st Edition

1978502257, 978-1978502253

More Books

Students also viewed these Databases questions

Question

How many states in India?

Answered: 1 week ago

Question

HOW IS MARKETING CHANGING WITH ARTIFITIAL INTELIGENCE

Answered: 1 week ago

Question

Different types of Grading?

Answered: 1 week ago

Question

Explain the functions of financial management.

Answered: 1 week ago

Question

5. Discuss the key roles for training professionals.

Answered: 1 week ago