Run
#the string str = "Welcome to Python Examples." #reverse string using slicing reversed = str[::-1] #print reversed string print(reversed)
Output