input: 
  # function to sort the given list of words
  def sort_words(words):
      # sort the list of words in alphabetical order
      words.sort()
  
      # print the sorted list of words
      print(words)
  
  # driver code
  words = ['bubble', 'selection', 'quicksort', 'insertion']
  sort_words(words)
  
  # output
  ['bubble', 'insertion', 'quicksort', 'selection']
  
output:     return words