input: Write a function to sort a list of strings in alphabetical order and print each string. If the list is empty, print 'No strings to sort'.
  
  assert sort_and_print_strings(['cat', 'dog', 'apple', 'banana'])==None
  assert sort_and_print_strings([])=='No strings to sort'
output: def sort_and_print_strings(strings):
      if not strings:
          print('No strings to sort')
      else:
          sorted_strings = sorted(strings)
          for s in sorted_strings:
              print(s)