input: Write a python function to replace all vowels in each word with the character set '[aeiou]'.
  assert fix_spelling("My favarite flowers are rose and tulples") == "My f[aeiou]v[aeiou]r[aeiou]t[aeiou] fl[aeiou]w[aeiou]rs [aeiou]r[aeiou] r[aeiou]s[aeiou] [aeiou]nd t[aeiou]lp[aeiou]l[aeiou]s"
  assert fix_spelling("Hello World") == "H[aeiou]ll[aeiou] W[aeiou]rld"
  assert fix_spelling("Programming is fun") == "Pr[aeiou]gr[aeiou]mm[aeiou]ng [aeiou]s f[aeiou]n"
output: def fix_spelling(text):
      vowels = "aeiouAEIOU"
      result = []
      
      for word in text.split():
          new_word = ""
          for char in word:
              if char in vowels:
                  new_word += '[aeiou]'
              else:
                  new_word += char
          result.append(new_word)
      
      return ' '.join(result)