for loop syntax in python with range