what’s the use of :: ? Can anyone help me in sorting out this query ?
While indexing , what’s the meaning of ::
For ex , list=[10,20,30]
list=list[::-1]
print(list)
Here , what’s the use of :: ?
Can anyone help me in sorting out this query ?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Salman BegPosted Apr 8, 2021, 6:33 AM