How would I assign multiple variables to one GUI input box? Something like this: q1, q2, q3 = input()
This isn't how the code would go, but this is just something I want it to be like:
a, b, c = str(input("Type in a command"))
But not like this:
abc = str(input("Type in a command"))
if abc == str("a"):
print ("a is right")
else:
print ("a is wrong")
if abc == str("b"):
print ("b is right")
else:
print ("b is wrong")
if abc == str("c"):
print ("c is right")
else:
print ("c is wrong")
If I did it this way, I'd get one of them wrong and it will tell me that one is right & 2 are wrong. (a is wrong, b is right, c is wrong)