INSPIREWEBSOFT
Home
CS-Revision-XI
CS-Concepts
CS-Board-Questions
CS-Practice-Questions
CS-Videos
Topics
Python Revision Tour
PQ-Python Basic
PQ-Python String
PQ-Python List
PQ-Python Tuple
PQ-Python Dictionary
PQ-Python Random Module
Functions in Python
PQ-Python Functions
Data Structure in Python
PQ-Python Stack
File Handling in Python
PQ-Text File Handling
PQ-Binary File Handling
PQ-CSV File Handling
DBMS in Python
PQ-DBMS
Computer Network
PQ-Computer Network
PYTHON-MYSQL Connectivity
PQ-Python-MYSQL
Assertion-Reason
PQ-Assertion-Reason
Python Dictionary Practice Questions
Which of the following will delete key-value pair for key = “Red” from a dictionary D1?
a. delete D1("Red") b. del D1["Red"] c. del.D1["Red"] d. D1.del["Red"]
Click To See/Hide Answer
(b) del D1["Red"]