[Python-ideas] Variations on a loop