When you start a big project like this, it's important to take some time to break the problem into individual steps. Then you can tackle (and test) one step at a time rather than trying to write a huge program all at once!
Let's think about the PygLatin problem. Pig Latin is a language where we take the first letter of a word and put it on the end while also adding a vowel sound. So dog becomes "ogday". What are the steps we need to take?
- Ask the user to input a word in English
- Check to make sure the user entered a valid word
- Convert the word from English to Pig Latin
- Display the translation result
Notice that some of the steps can themselves be broken down into individual steps. For example, we'll want to think through the algorithm for step #3 before we start coding.
A little bit of time invested in thinking through the decomposition of and algorithms for your program can save you a LOT of frustration down the road!
Get a piece of paper and work out an algorithm for step #3 of the project.