+ 2
What's slicing???
2 Réponses
+ 3
Rouza ,
here is a short tutorial (from the community section) about slicing in python. it demonstrates this with *lists*. but slicing can also be applied the same way by using *tuple* or *string*.
slicing can *not* be applied to *set* and to *dictionary*.
in the tutorial: > if you click on `tap to edit`, the sample codes are presented in the playground. you can modify and run them. you can also save them for further use.
https://www.sololearn.com/learn/o-Python/2453/?ref=app