Untitled
unknown
python
3 years ago
310 B
10
Indexable
def check_if_enough_resources(choice):
for key, value in MENU[choice]['ingredients'].items():
# print(f"Key: {key}, value: {value}")
# print(f"Resources: {resources[key]}")
if value > resources[key]:
print(f'Not enough {key}.')
return False
return TrueEditor is loading...