Could someone please explain 'slices' also for dictionaries? basically, I'd like to know how you would call every 3rd element in a list of lists...
My logic says: ThirdElems=List[:][2] Which to me reads, for every item in List (which are lists), return the third item. but this doesn't work. Thanks! -- 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. _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
