Notes from Raymond Hettinger's talk at pycon US 2013 video, slides and pycon US 2015 video
The code examples and direct quotes are all from Raymond's talk. I've reproduced them here for my own edification and the hopes that others will find them as handy as I have!
for i in [0, 1, 2, 3, 4, 5]: