input: Write a function to sort a list of strings based on their length. If the input list is empty, return an empty list.
  def sort_strings_by_length(words):
      if not words:
          return []
      words.sort(key=len)
      return words
  
  assert sort_strings_by_length(["Hello","World!","Good","Morning"])==["Good","Hello","World!","Morning"]
  assert sort_strings_by_length(["Python","Java","C"])==["C","Java","Python"]
  assert sort_strings_by_length(["a","bb","ccc","dddd"])==["a","bb","ccc","dddd"]
  assert sort_strings_by_length(["", "short"])==["", "short"]
  assert sort_strings_by_length([])==[]
output: def sort_strings_by_length(words):
      if not words:
          return []
      words.sort(key=len)
      return words