FAQ: Learn Python - Pyglatin - Break It Down

This community-built FAQ covers the “Break It Down” exercise in Codecademy’s lessons on Python.

FAQs for the Codecademy Python exercise Break It Down:

If you’re given instructions to print a specific string, assign a specific value to a variable, etc., be sure that you match the spelling and capitalization exactly. Often at times if you feel you’ve done an exercise correctly but are getting an error, the error message in the editor will have helpful hints if it was a simple typo, but also look back over your code to make sure you’ve entered what’s being asked for.
For example, if the instructions want you to print “Welcome to Pig Latin!” and you type `print “welcome to pig latin!”, it’ll be marked incorrect!

Join the Discussion. We Want to Hear From You!

Have a new question or can answer someone else’s? Reply (reply) to an existing thread!

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources about Python in general? Go here!

Want to take the conversation in a totally different direction? Join our wider discussions.

Learn more about how to use this guide.

Found a bug? Report it!

Have a question about your account, billing, Pro, or Pro Intensive? Reach out to our support team!

None of the above? Find out where to ask other questions here!

1 Like

Other FAQs

The following are links to additional questions that our community has asked about this exercise:

  • This list will contain other frequently asked questions that aren’t quite as popular as the ones above.
  • Currently there have not been enough questions asked and answered about this exercise to populate this FAQ section.
  • This FAQ is built and maintained by you, the Codecademy community – help yourself and other learners like you by contributing!

Not seeing your question? It may still have been asked before – try (search) in the top-right of this page. Still can’t find it? Ask it below by hitting the reply button below this post (reply).

I am interested in knowing why you choose the name “Pig Latin”.

… From that article:

Early mentions of pig Latin or hog Latin describe what we would today call dog Latin, a type of parody Latin.[ citation needed ] Examples of this predate even Shakespeare, whose 1598 play, Love’s Labour’s Lost , includes a reference to dog Latin:[2]

Costard: Go to; thou hast it ad dungill, at the fingers’ ends, as they say.
Holofernes: O, I smell false Latine; dunghill for unguem.

— Love’s Labour’s Lost, William Shakespeare

An 1866 article describes a “hog latin” that has some similarities to current Pig Latin. The article says, "He adds as many new letters as the boys in their ‘hog latin,’ which is made use of to mystify eavesdroppers. A boy asking a friend to go with him says, ‘Wig-ge you-ge go-ge wig-ge me-ge?’ The other, replying in the negative, says, ‘No-ge, I-ge wo-ge.’ "[3]. This is similar to Língua do Pê.

… and much more.

So, this exercise asks you to do things, like make an input and move chars around and replace them in a word and add constraints to the word… I think there may have been ONE exercise that mentioned input, but never showed you how to use it beyond one example script. I got a little practice with chars i.e. First letter = piglatin [0], then what, do that for all the chars of the input, which I don’t how to implement and shuffle them? about if a user inputs a longer string than I had anticipated and breaks my code? I don’t have a subscription to code academy, therefore I don’t have the opportunity to get the advanced projects and lessons, and do not believe I have the requisite knowledge to go forward with the course unless I pay? or am I missing something here? thanks!

1 Like

That’s what I was wondering!!??
Codecademy should tell us what to do to continue with this lesson because it clearly can’t be completed with what we know so far!!!

I also wonder how we are to ensure it’s a word. Is there a databae for this or …?

1 Like