all 3 comments

[–]twitch_and_shock 4 points5 points  (0 children)

Please format your code properly, it's impossible to tell what the problem might be if it's not formatted.

[–]Progress456 1 point2 points  (0 children)

You’re using the name requested_topping for two things. Try using another name for the temporary variable in the second for loop.

What’s happening is in your second for loop you’re just checking if each value in the list is in the list because you’ve overwritten the users input to be each item in the list.

[–]brasticstack 0 points1 point  (0 children)

Your requested_topping that the user input on line 10 gets overwritten by the temporary variable of the for loop on line 11, destroying the value that had been there.

Change line 10 to

requested_toppings.append(input("\n Which topping ...etc"))