input: Write a python function to find the shortest distance between two words in a sentence.
  assert find_shortest_distance("The quick brown fox jumps over the lazy dog", 'fox', 'dog') == 5
  assert find_shortest_distance("the cat in the hat sat on the mat", 'cat', 'mat') == 7
  assert find_shortest_distance("a b c a b c a b c", 'a', 'c') == 2
output: def find_shortest_distance(sentence, word1, word2):
      words = sentence.split()
      word1_indices = [i for i, word in enumerate(words) if word == word1]
      word2_indices = [i for i, word in enumerate(words) if word == word2]
      
      min_distance = float('inf')
      for i in word1_indices:
          for j in word2_indices:
              min_distance = min(min_distance, abs(i - j))
      
      return min_distance