Untitled

 avatar
unknown
python
2 years ago
185 B
5
Indexable
def check_if_enough_resources(users_choice):
    for key, value in MENU[users_choice]['ingredients'].items():
        if resources[key] < value:
            return False
    return True
Editor is loading...