I need to write a code which allow you to order a pizza but if you enter something else then S (small) or M (medium) or L (large) it has to return you that question. but the problem is that if you type S it continues but if you enter M or L it returns the same question (which not should happen)
I tried to put a block before the while and I tried to put it on different lines.
Size_pizza = str(input("Which size do you want your pizza to be? Small(S), medium (M) of Large (L)"))
while Size_pizza != "K" or "M" or "G":
Size_pizza = str(input("Which size do you want your pizza to be? Small(S), medium (M) of Large (L)"))
if you enter S or M or L it has to continue with the code but it only continues if you enter S.