Easy
Remove an Entry
Read n lines
name age into a dictionary, then a name. Delete it if present with del (otherwise print not found). Print the number of entries left.Input
n; n lines; a name.
Output
One or two lines.
Sample 1
Input
2 Mim 20 Rafi 21 Mim
Output
1
Sample 2
Input
1 A 1 B
Output
not found 1
Output appears here