0
Slicing-reverse
string=input("Enter string:") cnt=0 cnt=len(string) print(string[::-1]) How does the concept of slicing work in the above last line???
1 Resposta
+ 3
https://stackoverflow.com/questions/509211/understanding-pythons-slice-notation
https://docs.python.org/3.7/library/functions.html#slice