What would be the output of the following code? If there is…
What would be the output of the following code? If there is an error, write “ERROR” def word_magic(text): if text == “”: return “” else: if text.lower() in “aeiou”: return text.upper() + word_magic(text) else: return text + word_magic(text)print(word_magic(“hello world”))