Basically you forgot the second "for", so that the loop didn't iterate over 
j but instead created a range object 1:10 for each i.

Reply via email to