''' Write a Python program to reverse a word after accepting the input from the user.
    Sample Output:
    Input word: AcadGild
    Output: dilGdacA '''  

x = input("Enter a word: ")
y = ""
for i in range(len(x)-1,-1,-1):
    y = y + x[i]
print("Reverse of the word: "+y)


d13ad2067a9f41ab9d487ce6005bd3161ae58bc5
<mask token>

<mask token>
for i in range(len(x) - 1, -1, -1):
    y = y + x[i]
print('Reverse of the word: ' + y)

<mask token>
x = input('Enter a word: ')
y = ''
for i in range(len(x) - 1, -1, -1):
    y = y + x[i]
print('Reverse of the word: ' + y)

''' Write a Python program to reverse a word after accepting the input from the user.
    Sample Output:
    Input word: AcadGild
    Output: dilGdacA '''  

x = input("Enter a word: ")
y = ""
for i in range(len(x)-1,-1,-1):
    y = y + x[i]
print("Reverse of the word: "+y)

