Toggle navigation
Mr. Code's Wild Ride
Mr. Code
Curriculum
Showcase
Python
Math
Games
Typing
Sign in
Fun with Words
Lists
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 5:
If the command is "pig latin", print the word in pig Latin. The rules of pig Latin are:
If the word starts with a consonant, move it to the end
If the word starts with a vowel, leave it be
Finally, add "ay" to the end of the word
Last step
Next step
×
Sign in