Skip to content

Python Practice Shell

Use this mini Python shell to experiment with small code snippets.

  • You can use basic Python (numbers, lists, for loops, if statements).
  • Available builtins include: print, range, len, abs, min, max, sum.
  • This is a sandboxed environment – no file access, no imports.
# Try this:
for i in range(5):
    print(i**2)

Output


    

Errors