Ending up slicing concept


#1


https://www.codecademy.com/en/courses/python-beginner-2W5v7/1/4?curriculum_id=4f89dab3d788890003000096


I am having trouble with the concept the language is doing. I know that we take the first letter of the word, then concadamerize it by adding the variable holding the letter + making the word lower case + then adding the 'ay'.

the "word[1:lenth(word)]"
I am not understanding how the first letter of the word goes strait to the end when the word is extended by the 'ay'.
Did the correct code, I just don't understand why.
Here is the copy of the code;

pyg = 'ay'

original = raw_input('Enter a word:')
word = original.lower()

first = word[0]
new_word = word + first + pyg
new_word = new_word[1:len(new_word)]
print new_word


Replace this line with your code.


#2

everything is here: your new word consists of a word after which you add 'first' - which is variable holding first letter of word as in word[0] plus you add pyg at the end which is holding the ay string.
on next second line you cut the first letter of this 3 element string from the line I explained.
so these 'pluses' create your final string, of which one - in the middle - is the first letter