Advertisements
Advertisements
Question
Which of the following will delete key-value pair for key = “Red” from a dictionary D1?
Options
delete D1("Red")
del D1["Red"]
del.D1["Red"]
D1.del["Red"]
MCQ
Solution
del D1["Red"]
shaalaa.com
Key Concepts in Database Management System (DBMS)
Is there an error in this question or solution?