Useless, since based on Python 2. (and this is nowhere indicated) - the user string is interpreted with Sculpt
https://github.com/skulpt/skulpt:
Skulpt is a Javascript implementation of Python 2.x.
Nothing of this runs on current Python 3.*, providing this kind of tutorials is confucing learners.
Is there something specific that did work for you? I tried all the examples on Python 3.7.3 and they worked for me. One notable thing that's missing is that the @ operator for matrix multiplication, but I hope to add that in the future.
[0] http://skulpt.orgPython 3 Grammar. The master branch is now building and running using the grammar for Python 3.7.3. There are still lots of things to implement under the hood, but we have made a huge leap forward in Python 3 compatibility. We will still support Python 2 as an option going forward for projects that rely on it.