Python for beginners: free interactive self marking activities

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. Logical errors
  10. Selection
  11. Debugging
  12. Iteration
  13. Lists
  14. Files
  15. Error handling
  16. Procedures
  17. Functions
  18. Arguments
  19. Optimisation
  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.

3 thoughts on “Python for beginners: free interactive self marking activities

  • Pingback: Free interactive Python tutorials for beginners

  • September 15, 2018 at 7:40 pm


    Really nice resource, love the accessibility, layout, tasks, everything really.

    Have spotted a few typos: your self/yourself …. it’s/its….. a/at

    More than happy to point them out if you let me know where and how.

  • September 15, 2018 at 7:48 pm

    Thanks Austin. Would really appreciate the quality control feedback on typos-thank you. Just comment like this wherever you see them. Thanks very much 😀


Leave a Reply

Your email address will not be published. Required fields are marked *