So I have tried searching this but apparently nobody ever needed to do this simple thing before?
I want to a variable to have multiple strings. so basically it is:
command = input()
commands = "start" or "stop" or "help"
while command.lower() == commands:
dosomething()
else
dosomething()
This is basically the idea, but it only take the first string which is "start" but ignores the other 2. I understand that it reads it as ( commands = "start" ) so I tried making it
commands = "start" or commands = "stop" or commands = "help"
but it flat out says it is wrong. so what did I do instead?
Can someone help? Thanks