NameError Traceback (most recent call last)
Cell In[1], line 74
72 herbs = [item for item in unique_ingredients if item in [“党参”, “黄芪”, “当归”, “阿胶”, “肉苁蓉”, “陈皮”, “红枣”, “桂圆”]]
73 vegetables = [item for item in unique_ingredients if item in [“糯米”, “山药”, “黑豆”, “韭菜”, “木耳”, “莲子”, “百合”, “栗子”]]
—> 74 others = [item for item in unique_igrants if item in [“生姜”, “洋葱”, “白芷”, “胡椒”, “菠菜”]]
76 # 构建一周午餐食谱
77 weekly_menu = {
78 “Monday”: f"当归生姜羊肉汤",
79 “Tuesday”: f"黄芪炖乌鸡",
(…)
84 “Sunday”: f"核桃仁当归炖牛肉"
85 }
NameError: name ‘unique_igrants’ is not defined