[Tutor] help with slice
washakie at gmail.com
Tue Mar 4 23:03:18 CET 2008
Could someone please explain 'slices' also for dictionaries?
basically, I'd like to know how you would call every 3rd element in a list
My logic says: ThirdElems=List[:]
Which to me reads, for every item in List (which are lists), return the
but this doesn't work.
View this message in context: http://www.nabble.com/help-with-slice-tp15837808p15837808.html
Sent from the Python - tutor mailing list archive at Nabble.com.
More information about the Tutor