Closed deronbrowne closed 7 years ago
I tried seeing which part of it is running by using "print 'here'" and the strange thing is that it's entering the for loop, but not executing any of the statements there.
How can I replicate the issue? (add those to the issues in the future).
You should print out 'x' before entering the loop. Also in the future when using range to generating the indices use xrange, it's faster.
You resolved it?
Yeah. This was the thing where I was iterating over the list as I changed it.
@vkee No idea what's wrong here. For some reason when I want to view the inventory I've created, it skips the entire for loop and it just goes to the next print statement at line 55.