PygLatin

Pig Latin is a language game, where you move the first letter of the word to the end and add “ay.” So “Python” becomes “ythonpay.” To write a Pig Latin translator in Python, here are the steps we’ll need to take:

  1. Ask the user to input a word.
  2. Make sure the user entered a valid word.
  3. Convert the word to Pig Latin.
  4. Display the translation result.piglatin0piglatin1
    piglatin3 piglatin4 piglatin5 piglatin6 piglatin7 piglatin8 piglatin9 piglatin10