<prompt> Kubadilisha vowels wote kwa herufi kubwaAndika kazi ambayo hufanya mabadiliko yafuatayo.  <response>: pythondef transform_vowelstext: vowels a, e, i, o, u new_text for char in text: if char in vowels: new_text char.upper else: new_text char return new_textThis function takes in a string as an input and transforms all the vowels to uppercase. It achieves this by iterating over each character in the text, checking if it is a vowel, and if it is, converting it to uppercase using the upper function. The transformed character is then appended to a new string. Once all the characters in the text have been processed, the new string is returned. 