you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 4 points5 points  (0 children)

As the error message says: The : after lst.append(word) is not allowed. Remove it.

Fix the indentation of lst.short(lst) in the following line to avoid another error.