Created
August 30, 2021 05:48
-
-
Save pamelafox/bd3ca97c7ef764279537ad2f15965d90 to your computer and use it in GitHub Desktop.
Safe To Eat
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 seafood type is "mollusk" OR | |
it's been frozen for at least 7 days. | |
""" | |
def is_safe_to_eat(seafood_type, days_frozen): | |
""" | |
>>> is_safe_to_eat("tuna", 3) | |
False | |
>>> is_safe_to_eat("salmon", 6) | |
False | |
>>> is_safe_to_eat("salmon", 7) | |
True | |
>>> is_safe_to_eat("mollusk", 1) | |
True | |
>>> is_safe_to_eat("mollusk", 9) | |
True | |
""" | |
return 0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment