+ 1

Please can anyone explain the slicing operator?

I didn't understand this: >>>S=mystring >>>S[0:3:-1] >>>''

13th Jul 2019, 7:10 AM
parag sahu
parag sahu - avatar
3 Réponses
+ 5
StackOverflow has a nice thread on this topic👇 https://stackoverflow.com/questions/509211/understanding-slice-notation
13th Jul 2019, 9:05 AM
Om Kumar
Om Kumar - avatar
+ 4
13th Jul 2019, 9:06 AM
Lothar
Lothar - avatar
+ 1
Om Kumar thnx bro
13th Jul 2019, 9:07 AM
parag sahu
parag sahu - avatar