Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Space Invaders
#2
You should make sure to post the entire error, exactly as it appears, because it gives useful information about the error (like on which line it occurred).

At a guess, though, on line 32, what do you expect the value of choix1 to be on the first iteration of that loop, given that m is an empty list (from line 26)? What do you want to happen in that case?
Reply


Messages In This Thread
Space Invaders - by MelihsahCelik - Dec-31-2019, 03:54 PM
RE: Space Invaders - by ndc85430 - Dec-31-2019, 05:09 PM
RE: Space Invaders - by MelihsahCelik - Jan-01-2020, 09:10 PM
RE: Space Invaders - by michael1789 - Jan-01-2020, 11:18 PM
RE: Space Invaders - by MelihsahCelik - Jan-02-2020, 08:03 PM
RE: Space Invaders - by MelihsahCelik - Jan-02-2020, 10:53 PM

Forum Jump:

User Panel Messages

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