In [6]:
#Main method blueprint
def main():
print(reversed_string(input("Enter a string \n")))
def reversed_string(a_string):
return a_string[::-1]
if __name__ == '__main__':
main()
In [ ]: