Break it down


#1

I recently completed this course and found that by the end I had forgotten everything—age effect.So I have gone back to the very beginning.
In this exercise I have used a bit of string and slicing{?} which has not been covered up the point of this exercise. So how can this exercise be done differently codecademy to accept it? Here is my code

user1= raw_input("What is your name ")
print user1
word1 = user1[1:]
print word1
word2="ay"
pyglatin =word1+word2
print pyglatin

On the console I got

What is your name john
john
ohn
ohnay


#2

If you could provide the link to the exercise…that would be helpfull


#3

You did not add the first letter of the sliced word


#4

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.