1 questions
[[1, 1, 1, 1, 1], [1, 1, 1, 1], [1, 1, 1]] I wrote it like this. myList = [[1] * 4] * 3I changed only one value at the beginning, but the whole value of the element changed.myList[0][0] = 5 #[5, 1, 1,...
© 2024 OneMinuteCode. All rights reserved.