Please solve the following python question :-
Appreciate it
Attachments:
Answers
Answered by
1
Answer:
Answer is option (d) because clear() function deletes everything inside the dictionary and returns an empty dictionary.
Hope this helps !
Answered by
4
ɧɛƖƖơ ɱąɬɛ
__________________________
Answer:
d) { }
__________________________
Explanation:
ʜᴇʀᴇ , ᴀ.ᴄʟᴇᴀʀ() ᴡɪʟʟ ᴄʟᴇᴀʀ ᴀʟʟ ᴛʜᴇ ᴇʟᴇᴍᴇɴᴛs ᴏF ᴛʜᴇ ᴅɪᴄᴛɪᴏɴᴀʀʏ ᴀɴᴅ ʜᴇɴᴄᴇ ʀᴇᴛᴜʀɴs ᴛʜᴇ ᴇᴍᴘᴛʏ ᴅɪᴄᴛɪᴏɴᴀʀʏ ᴡʜᴇɴ ɪᴛ ɪs ᴘʀɪɴᴛᴇᴅ.
__________________________
ɧơ℘ɛ ıɬ ɧɛƖ℘ʂ ყơų ☺
Similar questions