-2

I think I'm misusing or, because this will just loop even when the input is either beer wine or strong. How can I make this run as intended?

req1 = ""
while req1 != "beer" or "wine" or "strong":
     req1=input("wat wil je drinken? ")
jonrsharpe
  • 107,083
  • 22
  • 201
  • 376

1 Answers1

0

You would have to do:

req1 = ""
while req1 != "beer" or req1 != "wine" or req1 != "strong":
     req1=input("wat wil je drinken? ")
Andrei
  • 1,023
  • 2
  • 13
  • 30