Explain any five methods in dictionaries. Give examples for each of them.
Answers
Answered by
1
Answer:
Method Description
- clear() Removes all the elements from the dictionary
- copy() Returns a copy of the dictionary
- fromkeys() Returns a dictionary with the specified keys and value
- get() Returns the value of the specified key
please make me as a brainliest.
Similar questions