Python Forum
Practicing using a "flag": please point in right direction
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Practicing using a "flag": please point in right direction
#2
The problem is that after running line 9, the code goes on with line 10. Why don't you simply replace line 9 with the break statement?
Reply


Messages In This Thread
RE: Practicing using a "flag": please point in right direction - by Gribouillis - May-09-2019, 08:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Big Grin Variable flag vs code outside of for loop?(Disregard) cubangt 2 1,300 Mar-16-2022, 08:54 PM
Last Post: cubangt
  Project Direction bclanton50 1 1,409 Jan-06-2022, 11:38 PM
Last Post: lucasbazan
Question How to understand the vector/direction mason321 0 1,192 Dec-14-2021, 10:57 PM
Last Post: mason321
  how to check for thread kill flag nanok66 1 2,275 May-09-2020, 10:06 PM
Last Post: nanok66
  Pointer in the right direction? Viking 5 2,882 Apr-22-2020, 06:14 PM
Last Post: Viking
  Check for a special characters in a column and flag it ayomayam 0 2,126 Feb-12-2020, 03:04 PM
Last Post: ayomayam
  Using a flag error blackjesus24 1 1,697 Jan-30-2020, 09:42 AM
Last Post: buran
  connecting the first point to the last point Matplotlib omar_mohsen 0 4,778 Jan-15-2020, 01:23 PM
Last Post: omar_mohsen
  Length and direction cosines of lines tarikrr 1 1,852 Nov-15-2019, 04:16 AM
Last Post: SheeppOSU
  Some direction needed Patriot1017 3 2,606 Sep-03-2019, 05:44 PM
Last Post: jefsummers

Forum Jump:

User Panel Messages

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