What will be displayed by the following code?
d = {

Loading

Choose the correct option.

What will be displayed by the following code?
d = {“john”:40, “peter”:45}
print(list(d.keys()))

A. [“john”, “peter”]
B. [“john”:40, “peter”:45]
C. (“john”, “peter”)
D. (“john”:40, “peter”:45)

Leave a Comment