COMPUTER SCIENCE AND ENGINEERING
DATA STRUCTURES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
What is the output of the following program?squares = {1:1, 2:4, 3:9, 4:16, 5:25} print(squares.pop(4)) print(squares)
|
16 {1:1, 2:4, 3:9, 5:25}
|
|
16{1:1, 2:4, 3:9, 4:16, 5:25}
|
|
4{1:1, 2:4, 3:9, 5:25}
|
|
4{1:1, 2:4, 3:9, 4:16, 5:25}
|
Explanation:
There is 1 question to complete.