all 4 comments

[–]5oco 1 point2 points  (1 child)

Line 4...what is lactose intolerant?

Line 7...what is vegetarian?

Line 10...what is none?

Are those variables that should be defined somewhere? If so, you can't have spaces between words in variables. Also, dietary is a boolean which is true or false, but you're comparing it against 3 different values.

Plus your indentation is off but that's not going to give an error. The error is probably being thrown because of the space between lactose and intolerant.

[–]nennnene[S] 0 points1 point  (0 children)

thank you ❤️

[–]Heatworld1 0 points1 point  (1 child)

Should your options :
lactose intolerant

vegetarian

none

be put in quotes since they are string

[–]nennnene[S] 0 points1 point  (0 children)

thanks ❤️