Getting an error: "Inconsistent use of tabs and spaces in indentation" Please help to spot an error in my code for the sub that "If a word starts with a vowel (aeiou), add the letters 'yay'. Example: the word are would become areyay."
Error for line #5
def convertEnglishToPigLatin():
print('You chose to convert English to PigLatin.')
eng = input('Enter the English sentence to convert to PigLatin.\n')
engWordSplit = eng.split()
for i in range(0, len(engWordSplit)):
if engWordSplit[i].startswith(("a","A","e","E","i","I","o","O","u","U")):
engWordSplit[i].append("yay")
else:
firstCharacter = engWordSplit.strip(0)
engWordSplit.append(firstCharacter)
engWordSplit.append("ay")
print(engWordSplit)