Menghapus elemen dari kamus python menggunakan metode pop ()

# welcome to softhunt.net
# Creating a Dictionary
Dictionary = {0: 'Softhunt', 1: '.net', 2: 'By Ranjeet', 'user': 'Greetings to you'}
print("Dictionary", Dictionary)

# Deleting a key
# using pop() method
pop_element = Dictionary.pop(2)
print('\nDictionary after deletion: ' + str(Dictionary))
print('Value associated to poped key is: ' + str(pop_element))
Outrageous Ostrich