What is the expected output of the following code?

What is the expected output of the following code?

A . (‘Peter’: 30, ‘Paul’: 31)
B . (‘Peter’, ‘Paul’)
C . [‘Peter’: 30, ‘Paul’: 31]
D . [‘Peter’, ‘Paul’]

Answer: D

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments