Hello all, well, I am new to these forums, and fairly new to Python. I know some python though, so I am not a complete "newb" so to speak. But I was wondering how to have python while loops work for two variables or strings or w.e. here's a piece of some simple code right now that I am working on.
import sys a = "/help" b = "awesome1" print ("This is a test script for multiple while loops") an = raw_input("type /help to continue:\n ") if an == a: import hfile elif an == b: import helloworld while an != a: print("That is invalid!\n") an = raw_input("type /help to continue or the password:\n ") break
so, basically what I want it to do is have the while have two conditions. in this case Condition a and b. Thanks in advance,