🎓
AcademiaHub
Code Lab ⚡
Log In
⚡
Code Lab
Write, run, and experiment with code directly in your browser.
🐍 Python
🟨 JavaScript
Log in
to save your code snippets and organise them in folders.
python
▶ Run
Files (Working Directory)
+ Add File
# Python Playground 🐍 # Try editing and running this code! def greet(name: str) -> str: return f"Hello, {name}! 👋" print(greet("AcademiaHub")) # Fibonacci example def fib(n): a, b = 0, 1 for _ in range(n): print(a, end=" ") a, b = b, a + b print() fib(10)
💡 Tips
Use
print()
to output values
Python runs in your browser with Pyodide — try
import math
or
import json
Execution is limited to 5 seconds after the runtime loads