My function is:
vowels=('a','e','i','o','u')
prefixes=('bl','br','ch','cl','cr','dr','fl','fr','gl','gr','kl','ph','pl','sh','sl','sp','sr','st','th','tr','wh','wr')
def convertToPigLatin(word):
first_prefix=word[0:2]
first_letter=word[0]
if first_prefix in prefixes:
return word[2:]+word[0:2]+'ay'
if first_letter in vowels:
return word+'yay'
else:
return word[1:]+word[0]+'ay'
now what would I enter and where at to make it loop and break if the user enters nothing