RESOLVED: Syntax Error PygLatin 10/11


I’m on Exercise 10 and keep getting a syntax error at the colon of the length function. Image attached
Whoops. Just noticed it should be new_word = new_word[1:len(new_word)]



you need to specify the string or variable containing a string before the square brackets:

"hello world"[0:6]

otherwise python doesn’t know what it should take a slice of


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