Python Forum
while not terminating
Thread Rating:
  • 3 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
while not terminating
#2
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.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
while not terminating - by gitiya - Jan-13-2019, 02:09 AM
RE: while not terminating - by ichabod801 - Jan-13-2019, 02:35 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020