Jan-13-2019, 02:35 AM
BTW, it's real helpful if you give us the (full) error text. I could have figured out straight from that rather than fiddling with your game.
If they guess right, random_number == user_input, so the while loop in logic is never run. That means logic returns None, because it never encounters the return statement on line 32.
If they guess right, random_number == user_input, so the while loop in logic is never run. That means logic returns None, because it never encounters the return statement on line 32.
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