How do I put the first letter at the end of the sentence, like in pig latin?

Here i the actual exercise: pig latin

pyg = 'ay'

original = raw_input('Enter a word:')
if len(original) > 0 and original.isalpha():
 word = original.lower()
 first = word[0]
 new_word = word + first + pyg
 print original[1:]
 

else:
  print 'empty'

This is based on the alternate instructions, looking at above.

pyg = 'ay'

original = raw_input('Enter a word:')
if len(original) > 0 and original.isalpha():
 word = original.lower()
 first = word[0]
 new_word = word + first + pyg
 print original[1:len(new_word)]
 
else:
  print 'empty'

The above is based on the following instructions:

Set new_word equal to the slice from the 1st index all the way to the end of new_word. Use [1:len(new_word)] to do this. These instruction are at the link provided

For example, what if I wrote 1:3 intead of 1:?

Well, say the input is cat, your code will print at. In the code you posted, the line before your print will be cat + c + ay, so evaluate to catcay. the length of that is 6, so slicing from index one to 6 on cat will give at - the length of cat is only 3, so it slices as much as it can.

I don’t think you’re supposed to be slicing the original - the point is to remove the first letter of your piggified word, not the original word, surely it should be new_word[1:len(new_word)], which makes the code work