Skip to content

Commit 86bf8f2

Browse files
author
Riya H
authored
Update Miscellaneous Dictionaries (With Output).py
1 parent c56132a commit 86bf8f2

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
### Miscellaneous Dictionaries (With Output) ###
22

3-
43
d = {1:'amit', 2:'banu', 3:'chandan', 4:'charan', 5:'divya'}
54

65
print (len(d)) # Output: 5
@@ -9,5 +8,3 @@
98
print(d) # Output: {1: 'amit', 2: 'banu', 3: 'chandan', 4: 'charan'}
109
d.clear()
1110
print(d) # Output: {}
12-
13-

0 commit comments

Comments
 (0)