Created
August 30, 2021 05:50
-
-
Save pamelafox/100c034bbc0ca34489852cec733df15a to your computer and use it in GitHub Desktop.
Harvest Time
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""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