Question: python2.7 1. (20 points) Write a function processTropicalStorms() that takes the name of a file as a parameter. Each line of the file corresponds to
>>processTropicalStorms ('testl.txt' I am Tropical Storm named Irma. I have peak winds of 200 mph, peak rain fall of 50 inches per hour in the year 2017 I am Tropical Storm named Bob. I have peak winds of 20 mph, peak rain fall of 3 0 inches per hour in the year 2016 I am Tropical Storm named Jim. I have peak winds of 170 mph, peak rain fall of 10 inches per hour in the year 2015 [TropicalStorm (50, 200,2017 , Irma), Tropicalstorm (30, 20 ,2016 'Bob), TropicalStorm ( 10, 170 ,2015, Jim)] >>processTropicalStorms ('test2.txt') ti >>processTropicalStorms ('none.txt') The file none.txt could not be found. Exiting
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
