input: Write a function to sort a list of strings in alphabetical order and print each string. If the list is empty, print 'List is empty'. If the list contains non-string elements, print 'All elements in the list must be strings'.
  assert sort_and_print(['cat', 'dog', 'apple', 'banana'])==None
  assert sort_and_print([])==None
  assert sort_and_print(['cat', 1, 'apple', 'banana'])==None
  assert sort_and_print(['cat', 'dog', 'apple', 'banana'])==None
  assert sort_and_print([])==None
output: def sort_and_print(lst):
      if not lst:
          print('List is empty')
          return
      if not all(isinstance(x, str) for x in lst):
          print('All elements in the list must be strings')
          return
      sorted_lst = sorted(lst)
      for item in sorted_lst:
          print(item)