The remove method removes a specific item from a list, if that item is in the list. Some situations might require that you remove an element from a specific index, regardless of the item that is stored at that index. This can be accomplished with the del statement. Here is an example of how to use the del statement:
Read »The del Statement in Python
http://www.itechtalk.com –
User login
Navigation
Categories
Best published scoops - Technology
Best Stories
Who's online
There are currently 0 users and 10 guests online.
