it says its a invalid syntax at the new_word = [1:len(new_word)]. i cant tell why.
original = raw_input('Enter a word:')
pyg = 'ay'
word = original.lower()
first = word
s = 'Charlie'
new_word = [1:len(new_word)]
if len(original) > 0 and original.isalpha():
Alright @frightningfedoras ...interesting username by the way. You have quite a few problems in your code. First of all, this:
should be inside your 'if' statement, as the entire process should only be conducted if the user's input is not blank and contains all alphabet letters. You need to put it in the "if" statement, because the process is otherwise not conducted. Second,
you might want to rethink that. Because you are saying that if the user's input is not blank and contains all alphabet letters, then you should just print it back out at them? Instead you want to print out the "new_word". I am not quite sure what
that's all about, but that is also part of the problem. If you do all of the above you should be good.
Hope that helps! Let me know if you need more help. Good luck and happy coding!