As the title says. I made a game. I totally grasp the if and elif statements.
lets see, what did I learn. Well I learned that return only returns values, I can’t use it to return to a function I’ve defined before.
I’ve learned about regexs and how they can be used to match parts of a string (VERY HELPFUL for user inputs… covers a wide margin of errors if written correctly)
I’ve learned that a space is a space and a tab is a tab (Seriously, a tab is not 4 spaces! Too many syntax errors from this mistake.)
And finally, I grasped while loops and understood why it was not working (If using ‘and’ and ‘and not’, you cannot introduce ‘or’ because it will not read both in the same if statement).
so without further ado, here is the house of countdoom. download the py and let me know what you think!
if you want to make any additions or changes, by all means!