Q. How is del D and del D[<key>] different from one another if D is a dictionary?
Answer =
del D delete the all dictionary so that when we want to find the value of D then it will give error tat D is not defined.
Where del D[<key>] delete the particular key which is given by user.
thanks
ReplyDeleteWelcome : )
DeleteThanks for this answer
ReplyDeletePost a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )