PY
py
1
2
3
4
5
6
7
8
9
10
#what is the difference between "del" and "pop()" keyword in python dictionaries?
dict = {
"name":"Ford",
"model":"mustang",
"year":"Godknows"
}
print(dict)
dict.pop("year")
print(dict)
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run