python:按字母顺序排序字符串
my_str = "Hello this Is an Example With cased letters"
# To take input from the user
# my_str = input("Enter a string: ")
# breakdown the string into a list of words
words = my_str.split()
# sort the list
words.sort()
my_str = "Hello this Is an Example With cased letters"
# To take input from the user
# my_str = input("Enter a string: ")
# breakdown the string into a list of words
words = my_str.split()
# sort the list
words.sort()