Slicing in Python


Hi, I am unable to set new_word equal to the slice from the 1st index all the way to the end of new_word. When i try to use "[1:len(new_word)]" to do this, it returns with an error saying that the ":" is not valid from the function. Any help would be grately appreiciated.


can we see this? What you are currently attempting is not correct

please copy paste your code to the forum