I’ve been working on a small pig-latin translator project in python lately – which you can view on GitHub. It accepts input from the user (supports full sentences, as well), and parses each individual word. If the word begins with a vowel, “way” is appended; alternately, the first consonant(s) are shifted to the end with “ay” appended.
For example:
“arm” -> “armway”
“leg” -> “eglay”
It’s a relatively short script, but was a fun little puzzle to work on this past weekend. Once again, you can view the source for Igpay Atinlay Anslatortray GitHub.