input: Write a function to sort a list of strings in alphabetical order and print each string. The function should return None.
  assert sort_and_print(['cat', 'dog', 'apple', 'banana'])==None
  strings = ['cat', 'dog', 'apple', 'banana']
  strings.sort()
  expected_output = ""
  for string in strings:
      expected_output += string + "\n"
  assert sort_and_print(['cat', 'dog', 'apple', 'banana']).strip() == expected_output.strip()
output: def sort_and_print(strings):
      strings.sort()
      for string in strings:
          print(string)
      return None