A=???????????
print(A)
A[3][0]=5
print(A)
What can you put in the ?'s to make it output:
[[1], [1], [1], [1], [1], [1], [1], [1], [1], [1]]
[[1], [5], [1], [5], [1], [5], [1], [5], [1], [5]]
Hint: you can answer this question with an answer exactly as long as the number of ?'s. I tried the following.
A=[[1] for i in range(11)]
But this only gives me the first output. How can I make it so that I get the output given when A[3][0]=5
?