+ 1

Can anybody Kindly explain this to me pls

a [ -2::1] what is the meaning of (::)

20th May 2019, 10:06 PM
Oluwasegun Are
Oluwasegun Are - avatar
2 odpowiedzi
+ 7
20th May 2019, 10:27 PM
David Ashton
David Ashton - avatar
+ 3
This is the operation for list slicing. It is well explained here: https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2453/?ref=app
20th May 2019, 10:08 PM
Eduardo Petry
Eduardo Petry - avatar