Python to JS code error (TypeError)

Hello,

yes, it runs online. Give it a try.

Well, in my script, the variable sentence that is read in is not modified. This was different in the post you refer to.

Best wishes Jens