¡@

Home 

python Programming Glossary: interestingelts

List Manipulation with pop(), Python

http://stackoverflow.com/questions/5162991/list-manipulation-with-pop-python

a generator rather than a list by using instead of interestingelts x for x in oldlist if x not in 'a' 'c' After this you can iterate.. if x not in 'a' 'c' After this you can iterate over interestingelts but you can't index into it for y in interestingelts # ok print.. over interestingelts but you can't index into it for y in interestingelts # ok print y print interestingelts 0 # not ok generator allows..