Question: python2.7 1. (30 points) Implement a class Storm (that is a subclass of the object class) supporting the following methods: a. init () which takes
>>Sl-Storm() >>>print (sl) I am Storm with peak winds of 0 mph, peak rain fall of 0 inches per hour in the year 1900 >>s2-Storm (5) >>2.getRainFall () >>s2.getYear ) 1900 >>>print (s2) I am Storm with peak winds of 0 mph, peak rain fall of 5 inches per hour in the year 1900 >>S3-Storm (3, 40,2011) >>>print (s3) I am Storm with peak winds of 40 mph, peak rain fall of 3 inches per hour in th e year 2011 >>3.getYear ) 2011 Storm (3, 40 ,2011)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
