Virtusa Interview Question

code reverse of string program in python or java