MCQ IN COMPUTER SCIENCE & ENGINEERING

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)
A
16 {1:1, 2:4, 3:9, 5:25}
B
16{1:1, 2:4, 3:9, 4:16, 5:25}
C
4{1:1, 2:4, 3:9, 5:25}
D
4{1:1, 2:4, 3:9, 4:16, 5:25}
Explanation: 
There is 1 question to complete.