Conditions and Loops in Python