Condintionals Unit 3: PygLatin

In this assignment, we used the website called “code academy” in order for us to do this exercise. Pig Latin is a language game, where you move the first letter of the word to the end and add “ay.” So “Python” becomes “ythonpay.” This exercise allows us to have an understanding of the “Conditional & Control Flow” when using Python.

Here are some images of step by step procedures in order to do this exercise:

capture

#1

capture-1

#2

capture-2

#3

capture-3

#4

capture-4

#5

capture-5

#6

capture-6

#7

capture-7

#8

capture-8

#9

capture-9

#10

capture-10

#11

Overall Experience: When completing this assignment, I had a hard time understanding step #10. I didn’t quite clearly understood what they meant by “to split the index”. I was trying multiple ways to figure it out, but never got it right. Until I used Code Academy’s Q&A to solve my problem. After that, I somewhat got the hang of it.