How can you remove key:value pairs from a dictionary?
Answer:
- del <dictionary>[key]
- <dictionary>.pop(<key>)
Very Short Answer Type Questions (1 Mark each)
Very Short Answer Type Questions (1 Mark each)
Last updated at Dec. 13, 2024 by Teachoo
Answer: