input: Write a function to sort a list of strings in alphabetical order and print each string. The function should take a list of strings as input and print the sorted strings.
  assert sort_and_print(['cat', 'dog', 'apple', 'banana']) == None
  assert sort_and_print(['zebra', 'lion', 'tiger', 'elephant']) == None
  assert sort_and_print([]) == None
  assert sort_and_print(['apple', 'apple', 'banana', 'banana']) == None
  assert sort_and_print(['a', 'b', 'c', 'd']) == None
output: def sort_and_print(strings):
      sorted_strings = sorted(strings)
      for s in sorted_strings:
          print(s)