4 Respuestas
+ 3
Why don’t you try it yourself and see?
+ 2
Apart from missing closing parentheses which could be a typo, it just doesn't make sense. Slicing a `list` from 4th index and excludes the 4th index.
What you have in mind with this thought though?
+ 2
Yes, it is possible to do, it will be an empty slice. You can also write a for loop which is never executed.
0
I think you should try directly on editor or your console all possibilities of slicing a list in Python, also you can use the slice with elements sequenced like string, tuple, list, etc..