You are on page 1of 1

input_string = input('enter the string to be reversed: ')

print(input_string[::-1])

You might also like