input: Write a function to find the longest words from a list of words.
  assert same_length(["apple", "banana", "mango", "kiwi"]) == ["banana"]
  assert same_length(["dog", "cat", "fish", "elephant", "tiger"]) == ["elephant"]
  assert same_length(["sun", "moon", "star"]) == ["moon", "star"]
output: def same_length(words):
      if not words:
          return []
      max_length = max(len(word) for word in words)
      return [word for word in words if len(word) == max_length]