Py-Script
Running Python in HTML
import sys
from pyscript import display
x=0
tally=0
while x <= 10:
display(f"x is equal to {x}\n")
tally = tally+x
x+=1
display(".")
display(".")
output=(f"The sum of all the numbers from 0 to {x-1} is {tally}")
display(output)