Question: (1-12) 1. [20pts] Write function season o that takes as input the number of a month numbers 1 to 3 correspond to Winter, 4 to
(1-12) 1. [20pts] Write function season o that takes as input the number of a month numbers 1 to 3 correspond to Winter, 4 to 6 correspond to Spring, 7 to 9 correspond to and returns the season corresponding to the month, as a string. You may assume that Summer, and 10 to 12 correspond to Fall. >> season (3) Winter >>> season (11) Fal 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
