write a program to print string in reverse order in python