News
python -m timeit "for n in range (100):pass " On the whole, though, it’s easier to use the technique shown above, since you don’t need to awkwardly shoehorn your code into a text string.
In addition to executing code embedded in HTML, it's also possible to add a code editor directly into an HTML page using the py-repl tag so that you can input code and execute it, as shown below.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results