This file contains 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
#!/usr/bin/python | |
import sys | |
import numpy as np | |
import random | |
def is_input_valid(question, input): | |
valid = {"yes": True, "y": True, "ye": True, | |
"no": False, "n": False} | |
if input is None: |
This file contains 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
#!/usr/bin/python | |
import sys | |
import numpy | |
from utils import * | |
from random import shuffle | |
staples = ['potatoes', 'onions', 'ginger', 'cheese', 'eggs','yogurt'] | |
carb = ['bread', 'noodles', 'rice', 'quinoa'] | |
other = ['gochujang', 'ketchup'] #condiments |