Write a program for Deleting entire Dictionary
Topic: Write a program for Deleting entire Dictionary
Solution
Dict = {1: 'Geeks', 'name': 'For', 3: 'Geeks'} Dict.clear() print("\nDeleting Entire Dictionary: ") print(Dict)
List all Python Programs
Solution
Dict = {1: 'Geeks', 'name': 'For', 3: 'Geeks'} Dict.clear() print("\nDeleting Entire Dictionary: ") print(Dict)