explanations for loops.py