+ 5

Like Lists ,can we perform slicing operation in dictionaries too?

16th Apr 2019, 8:11 AM
RILEY
4 Respuestas
+ 7
No, that's only defined for the sequence types. Dictionaries are not ordered, so a slice would give you arbritrary elements.
16th Apr 2019, 8:27 AM
HonFu
HonFu - avatar
+ 1
But you can extract keywords as you want
18th Apr 2019, 6:40 PM
TECHAEMON 4u
0
No we can't
5th May 2019, 8:23 AM
sai kumar
sai kumar - avatar
0
How 20//6 become 3
24th Jun 2019, 1:26 AM
Abhinav Kumar
Abhinav Kumar - avatar