We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8db37a9 commit 612e653Copy full SHA for 612e653
dictionaries.py
@@ -18,6 +18,14 @@
18
print(phone_no['Shyam']['Shyam_work'])
19
del phone_no['Ram']
20
print(phone_no)
21
-#print(phone_no.pop('Shyam'))
22
-print(phone_no.popitem())
23
-print(phone_no)
+#print(phone_no.pop('Shyam'))particular item delete
+print(phone_no.popitem())#random delete
+print(phone_no)
24
+print(phone_no.keys())
25
+print(phone_no.values())
26
+print(phone_no.items())
27
+for i in phone_no.items():
28
+ print(i)
29
+phone_no2=phone_no.copy()
30
+print(phone_no2)
31
+
0 commit comments