WASM Python Playground
-- Select Example --
Hello World
Fibonacci Sequence
Basic Math
▶ Run
# Write your Python code here print("Hello, Python in WebAssembly!") # Welcome to the Python Playground! import sys print(f"Python version: {sys.version}") # Simple calculation result = sum(range(1, 101)) print(f"Sum of numbers from 1 to 100: {result}") # Try a simple function def greet(name): return f"Hello, {name}!" print(greet("World")) # List comprehension example squares = [x**2 for x in range(1, 6)] print(f"Squares of numbers 1-5: {squares}")
Ready
Running...