PyScript Sample Page

If you want to get more information, please click this link.

num1 = 1.5 num2 = 6.3 # Add two numbers sum = num1 + num2 # Display the sum test = ('The sum of {0} and {1} is {2}'.format(num1, num2, sum)) pyscript.write('sum', test)