Q. Can sequence operations such as slicing and concatenation be applied to dictionaries? Why?
Answer =
No, sequence operations like slicing and concatenation cannot be applied on dictionaries. The reason being, a dictionary is not a sequence. Because it is not maintained in any specific order, operations that depend on a specific order cannot be used.
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )