Q. Dictionary is a mutable type, which means you can modify its contents? What all is modifiable in a dictionary? Can you modify the keys of a dictionary?


Answer =

We can modify by adding or remove the key value pair. In dictionary modifiable is key’s values and addition or removal of key value pairs.
No we can not modify the keys of dictionary.

2 Comments

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post