diff --git a/Recipes Project.py b/Recipes Project.py index c759e01..844a85a 100644 --- a/Recipes Project.py +++ b/Recipes Project.py @@ -1,2 +1,30 @@ -x = 2+2 -print (x) +#Recipe +#marayah + +def recipes(): + """ + Description of the function + Input: + Ingredients that are available to user + + Output: + All recipes that require only those ingredients + :return: + """ + print("Function does something..") + +#asking for available ingredients""" +ingredients = input("what ingredients do you have available? (please seperate each with a comma)") +print ('okay let me check what recipes we have available with', ingredients, '...') + + +#importing recipes and store in dict varibale +import csv +recipes = csv.DictReader(open('recipes.csv')) +for row in recipes: + print(row) + + + + +