Explanation: the output of the code shown above is a list containing only keys of the dictionary d, in the form of a list.
Q. print(list(d.keys()))
✅ Correct Answer: (A)
[“john”, “peter”]
Explanation by: Mr. Dubey
the output of the code shown above is a list containing only keys of the dictionary d, in the form of a list.
Discussion
Question Analytics
158
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
83%
Success Rate