Oct-20-2017, 09:35 PM
That's good, but I just noticed that you are using the 'is' operator for comparisons. You should only do that in certain cases, it doesn't check for two equal objects, it checks for the exact same object. For testing if two objects are equal, use == (double equals sign). It works here, but only in certain implementations of Python.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures