Python for loop: How to easily iterate over collections of items