Skip to content
Advertisement

Tag: processing

How to remove a specific element from a 2d array in Python?

I am new to Python and now I’m trying to create a game called Pong Everything looks to work fine but unfortunately, I can’t remove a specific element from 2D-Array /List once the ball touches a brick. Here is my code: In the following method, I want to remove the specific element: I have tried many ways with remove() and

Advertisement