Practice

Write Python code below and click Run. Output (including errors) appears underneath. The first run on this page may take a few seconds while the Python engine loads in your browser — after that, runs are instant.