how can i remove an array from an array?

How to remove an item from an array in Python?

  • for x in range(0, 9999, 2): a.pop(x) I have an array 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 ...show more

  • Answer:

    Edit: I think i know what you are trying to say now. First off, it would seem that your 'array' is a list (since .pop() is for lists, there aren't really native arrays in python). What you may need is to use list.remove(x)

OKMJDL34A75NPWVNAAWLBGWPNA at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.