User Defined Variables


my_list = [1,9,3,8,5,7]

 for number in my_list:

What is a user defined variable? How is each item in my_list assigned to the user defined variable number with out any direct variable statement. (number = .....)?


python is doing that for you, how nice of python, isn't it?

each time the loops runs, python will re-assign a value to the number variable