Well, it behaves exactly like a for loop: if you m...
# getting-started
k
Well, it behaves exactly like a for loop: if you modify some state outside the for loop it'll stick around afterwards too. In your current code it looks like nothing happens, because you're just creating random instances, and lists of their values but you don't keep anything afterwards.