Code Academy: PygLatin

For this tutorial I learned how to make a little translator. Using different functions and codes to come up with a new translated word. I made word equal to make everything lower case. First is equal to the first letter in the word. Pyg is equal to “ay”. When everything is added together any word that is inputted into the code will have the first letter moved to the back and added with “ay”. Also it will all be lowercase because of the function word = original.lower().

Code academy PygLatin