๐
Python Playground
Write and run Python 3 โ no install, right in your browser
Use this to experiment, practise, or test ideas outside of the structured lessons. Supports the full Python 3 standard library subset available via Skulpt.
Try:
๐ก Tips for the Playground
- Use import random for random numbers:
random.randint(1, 10) - Use import math for maths functions:
math.sqrt(16),math.pi - input() pauses and waits โ type your response in the output area (Playground simulates it)
- Python uses indentation (4 spaces) to define blocks โ tabs and spaces can't be mixed
- Press Tab in the editor to insert 4 spaces automatically
- Click Clear output to reset the output panel without losing your code
Ready for structured lessons?
Go to lessons โ
Follow the Programming strand โ 8 lessons with guided exercises and instant feedback.