Python Forum
Please help me with this program
Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Please help me with this program
#2
Quote:
while(y==0):
    enemyBattleChain()

...you never change "y", so of coarse it'll run forever. Perhaps you wanted to return y somewhere, and set it within the loop? Like y = enemyBattleChain()?
Reply


Messages In This Thread
RE: Please help me with this program - by nilamo - Dec-16-2016, 10:38 PM
RE: Please help me with this program - by Larz60+ - Dec-16-2016, 10:39 PM
RE: Please help me with this program - by Larz60+ - Dec-16-2016, 10:42 PM

Forum Jump:

User Panel Messages

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