It reverse the sequence like :s="name"a=s[::-1]print(a)Output:eman
s="name"
a=s[::-1]
print(a)
Output:
eman