Here's a screen shot of what I have to do. I'm really confused, and have no idea where to start.
Any tips?
Here's a screen shot of what I have to do. I'm really confused, and have no idea where to start.
Any tips?
In Pig Latin, if the word starts with a consonant, then it moves to the end of the string, and you add "ay", right?
Let's say my input is banana. Now, with slicing:
banana[0] == 'b'
banana[1:] == 'anana'
Now try figure it out from here :)