2 ответов
+ 5
It's called list slicing:
https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2453/?ref=app
We have a Python course here in SoloLearn, check it out.
0
Kim Jong
It is called list slicing:-
[:x] means it will consider all the numbers from 0 to x-1....
[::-x] means it will print the list in reverse order....