+ 1
How come the error changed to 9?
squares = {1: 1, 2: 4, 3: "error", 4: 16,} squares[8] = 64 squares[3] = 9 print(squares)
1 ответ
+ 1
So we are either changing or adding new values. right?
squares = {1: 1, 2: 4, 3: "error", 4: 16,} squares[8] = 64 squares[3] = 9 print(squares)