Can sequence operations such as slicing and concatenation be applied to dictionaries? Why?
Answers
Answered by
4
The slice() function returns a slice object that can use used to slice strings, lists, tuple etc. The slice object is used to slice a given sequence (string, bytes, tuple, list or range) or any object which supports sequence protocol (implements __getitem__() and __len__() method).
Answered by
4
Answer:
hope it was helpful for more qualified answers please follow me
Attachments:
Similar questions