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