1 Answer

0 votes
by
x = "MadanswerTraining"

print( "Reverse is" , x[: : -1]

Output:

1

Reverse is gniniarTrewsnadaM
...