T
Tuvas
Let's say I make a program something like follows:
x=[]
x.append([1,2,3])
x.append([4,5,6])
print x
print x[0]
print x[0][1]
x[0][1]=5
Okay, everything works here as expected except the last line. Why won't
this work? Thanks for the help!
x=[]
x.append([1,2,3])
x.append([4,5,6])
print x
print x[0]
print x[0][1]
x[0][1]=5
Okay, everything works here as expected except the last line. Why won't
this work? Thanks for the help!