how to use for loop in python