Suppose for example : list= [1,2,3,4] print (list [::-1]) We get the output as[ 4,3,2,1] By this we can understand that using ::-1 reverses ...
確定! 回上一頁