Python 3.4.1 rainfall Solution

Example of program in operation:

Inches of rainfall for month #1: 9.82

Inches of rainfall for month #2: 3.65

Inches of rainfall for month #3: 6.29

Inches of rainfall for month #4: 5.39

Inches of rainfall for month #5: 7.70

Inches of rainfall for month #6: 3.89

Inches of rainfall for month #7: 8.64

Inches of rainfall for month #8: 5.15

Inches of rainfall for month #9: 4.00

Inches of rainfall for month #10: 0.67

Inches of rainfall for month #11: 3.75

Inches of rainfall for month #12: 8.87

Total rainfall in inches: 67.82

Average rainfall in inches: 5.65

Lowest rainfall in inches: 0.67

Highest rainfall in inches: 9.82

Powered by