For each of the tryit, debugit and extendit activities, you’ll get an interactive python code editor that runs in the browser on any device.

As you work through the challenges in each code editor, you get a score in the top right corner of the screen showing your progress so far.

Free interactive python self marking tests

Screenshot: Free interactive python self marking tests

Keyboard shortcuts:

At any point, you can press:

  • Ctrl+S  to save your code to a unique URL, that you can submit to your teacher as proof of having done your homework / classwork or keep for your own records.
  • Ctrl + Enter  to run your code to test it
  • Ctrl + Space  to run one line at a time to debug it

Python for beginners: Here’s where I’ll post the links when each activity is published:

  1. Output: Published Aug 2018
  2. Input: Published Aug 2018
  3. Syntax errors: Published Aug 2018
  4. Variables: Published Aug 2018
  5. Naming conventions: Published Sep 2018
  6. Data types: Published Sep 2018
  7. Runtime errors: Published Sep 2018
  8. Sequence: Published Sep 2018
  9. Selection: Published October 2018
  10. Logic errors: Published Jan 2019
  11. Lists: Published July 2019
  12. Iteration: Published August 2019 
  13. Writing to files: Published July 2020
  14. Reading from files: Published July 2020
  15. Error handling: Published July 2020 
  16. Procedures: Published November 2020
  17. Functions: Published November 2020
  18. Parameters: Published November 2020
  19. Optimisation: Published March 2021
  20. What next?

If you have any suggestions or if you’ve spotted something I’ve done wrong, please get in touch via the comments below or the contact page.