id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

burns@bxscience.edu > changeOfSeason
prev  |  next  |  chance

Write a Python function that determines the season based on the month and day. The function should accept the Month, expressed as a String and the day expressed as an integer. The function should then return the season.


changeOfSeason('Jan', 10) → 'Winter'
changeOfSeason('Feb', 10) → 'Winter'
changeOfSeason('Mar', 19) → 'Winter'

...Save, Compile, Run (ctrl-enter)

def changeOfSeason(month, day):

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Python Help

Difficulty: 100

Copyright Nick Parlante 2017 - privacy