Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HELP!!!
#2
Never change list while iterating over it. Iterate over copy of the list.


EDIT: Although correct statement, my answer does not address OP problem. look at @snippsat post below.
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
HELP!!! - by munirh070 - Aug-06-2020, 04:13 PM
RE: HELP!!! - by buran - Aug-06-2020, 04:15 PM
RE: HELP!!! - by munirh070 - Aug-06-2020, 04:39 PM
RE: HELP!!! - by ndc85430 - Aug-06-2020, 04:45 PM
RE: HELP!!! - by Yoriz - Aug-06-2020, 06:31 PM
RE: HELP!!! - by buran - Aug-06-2020, 06:57 PM
RE: HELP!!! - by deanhystad - Aug-06-2020, 11:08 PM

Forum Jump:

User Panel Messages

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