Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >>> list = ['a', 'b', 'c', 'd', 'e', 'f']
- >>> for i in xrange(len(list)):
- ... if i / 2:
- ... del(list[0])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement