alphabetical-order.py 202 B

123
  1. words = input('Enter any number of words separated with commas: ')
  2. split_words = words.split(',')
  3. print(f'Here are the words you entered, arranged in alphabetical order: {tuple(sorted(split_words))}')