# reversing a string
a = input("enter a string")
print ("The string before reversing is :", a)
y = a[::-1]
print ("The string after reversing is :", y)

981dd484752ebc4bfb07ebff0e66bfb3e4d6788f
<mask token>

<mask token>
print('The string before reversing is :', a)
<mask token>
print('The string after reversing is :', y)

a = input('enter a string')
print('The string before reversing is :', a)
y = a[::-1]
print('The string after reversing is :', y)

# reversing a string
a = input("enter a string")
print ("The string before reversing is :", a)
y = a[::-1]
print ("The string after reversing is :", y)
