+ 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)

28th May 2018, 1:12 AM
Medo Hamdani
Medo Hamdani - avatar
1 Answer
+ 1
So we are either changing or adding new values. right?
28th May 2018, 2:41 AM
Medo Hamdani
Medo Hamdani - avatar