PyWeb
New
Open
Save
Run
Explorer
Project
main.py
utils.py
Search
Terminal
main.py
utils.py
# Welcome to PyWeb - Python Editor # Write your Python code here and click Run def greet(name): """A simple greeting function""" return f"Hello, {name}!" print(greet("World")) # Try some math result = 42 + 3.14 * 2 print(f"The answer is {result}") # List comprehension example squares = [x**2 for x in range(10)] print(f"Squares: {squares}")
Output
Terminal
PyWeb Terminal v1.0
Type 'help' for a list of commands
user@pyweb:~$
Python 3.10
main
128 MB
Ready
Made with
DeepSite
- 🧬
Remix