Looping Over Lists # The for-in statement makes it easy to loop over the items in a list: for item in L: print item If you need both the index and the item, use the enumerate function: for index, item in enumerate(L): print index, item If you need only th