Question: 1. Please answer the following question in Python 3. Please also show all outputs and share your code. rainfall_mi is a string that contains the
1. Please answer the following question in Python 3. Please also show all outputs and share your code.
rainfall_mi is a string that contains the average number of inches of rainfall in Michigan for every month (in inches) with every month separated by a comma. Write code to compute the number of months that have more than 3 inches of rainfall. Store the result in the variable num_rainy_months. In other words, count the number of items with values > 3.0.
Hard-coded answers will receive no credit.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
