input: Write a function to alphabetically sort a list of strings and print each string. The function should take a list of strings as input and print the sorted strings. If the list is empty, it should print nothing.
  assert alphabetically_sort_and_print(['cat', 'dog', 'apple', 'banana'])
  assert alphabetically_sort_and_print([])
output: def alphabetically_sort_and_print(strings):
      if strings:
          sorted_strings = sorted(strings)
          for s in sorted_strings:
              print(s)