Run
#the string str = "Welcome to Python Examples." #convert string to list of chars str_list = list(str) #reverse the list str_list.reverse() #join the list items reversed = ''.join(str_list) #print reversed string print(reversed)
Output