str = "Python" my_list = [char for char in str] print(sorted(my_list)) print(my_list) my_list.sort(reverse=True) print(my_list)