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 ?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Salman BegRank #284 · 8.8K reputationPosted Apr 8, 2021, 2:33 AM EDT