Lamonte Harris pyth0nc0d3r at
Sun Aug 26 20:37:52 CEST 2007


a = ['spam', 'eggs', 100, 1234]

So basically when I do
print a[1:-1]

that will display all the choices in the array besides 0,3

Slicing was kinda weird, just making sure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list