Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

Pig Latin is a game that children often play. There are two simple rules: If the word begins with a vowel ('a', 'e', 'i', 'o' or 'u'), add 'yay' to...

Pig Latin is a game that children often play. There are two simple rules:

  • If the word begins with a vowel ('a', 'e', 'i', 'o' or 'u'), add 'yay' to the end of the word.
  • If the word begins with a consonant (the other letters), take all the consonants before the first vowel, add them to the end of the word, and then add 'ay' to the end of the word.

Using python 3, design a function pig_latinify(n): that takes a word n and returns it in Pig Latin form

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question