Python Forum
Getting errors when trying to run programs
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting errors when trying to run programs
#8
(Apr-10-2020, 11:21 AM)whois1230 Wrote: https://imgur.com/a/6OPMRci
I managed to fix the 'indented block' problem, but now I'm getting this('break' outside loop):
https://imgur.com/a/FB8RvGQ

The code still isn't indented properly. The 'break' needs to be inside the while loop, so does the if statement, I assume. The sys.exit() should probably be indented to be under the 'except' block.

If you could paste the code here, it would be much easier to fix.
Reply


Messages In This Thread
RE: Getting errors when trying to run programs - by DreamingInsanity - Apr-10-2020, 11:34 AM

Forum Jump:

User Panel Messages

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