According to the lesson, "Method 1 is useful to loop through the list, but it's not possible to modify the list this way. "
However, this code works fine. [1,2,3,4] becomes [11,12,13,14] without error.
Is the lesson in error or am I misunderstanding the meaning of the above statement?
list = [1,2,3,4] for item in list: item += 10 print (item)