Skip to content

Instantly share code, notes, and snippets.

@pamelafox
Created August 30, 2021 05:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pamelafox/100c034bbc0ca34489852cec733df15a to your computer and use it in GitHub Desktop.
Save pamelafox/100c034bbc0ca34489852cec733df15a to your computer and use it in GitHub Desktop.
Harvest Time
"""This function should return true
if the month is July OR the tuber size is at least 2 feet.
"""
def harvest_time(month, tuber_size):
"""
>>> harvest_time("May", 1)
False
>>> harvest_time("May", 2)
True
>>> harvest_time("May", 3)
True
>>> harvest_time("July", 1)
True
>>> harvest_time("July", 2)
True
>>> harvest_time("July", 4)
True
"""
return 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment