I have an array named 'a' with the numbers 1 to 10,000 in it. I would like jump through the list in 2s, which I have managed successfully. However, I want the program to remove every second number, like the number '2' for example, which would be assigned to 'x'. I have tried functions such as .pop() but I don't seem to be getting anywhere. Please can someone help. Am i just using the function wrong?
for x in range(0,9999,2):
a.pop()