Using This Website

The purpose of this website is to teach the basics of Python programming in a semi-interactive fashion. It contains a series of instructions, mixed with exercises that you can use to test your progress. Anyone can use this website for free. You don't need to install anything on your computer to use this website.

Below we have instructions for teachers using this site with students.

The exercises and writing are aimed at people who have no prior experience programming. If you have some experience programming in other languages, then going through all of the lessons should be a bit easier. Both adults and students can go through all of the lessons at their own speed.

There are automatically-graded exercises to build up your skills. There are several types of exercises, including programming, short answer, multiple choice, and code scramble. In most cases there is more than one way to get a correct answer.

Some of our exercises ask you to predict what Python will do on some example code. You could solve this instantly by running Python on the test, but avoid this! Rather, think about it and try to figure it out by yourself first.

This website is not a replacement for working with a real teacher. We test only certain concepts; we don't check whether you are copying your code from somewhere else; and, the auto-grader cannot make objective judgements, like whether are you writing your programs in a clear and simple way. You can register a teacher or knowledgeable friend as a "guru" on your profile page after creating an account. They can monitor your progress.

We provide a console and visualizer which you can use to execute any programs that you like. However, these tools have security and complexity limits (such as a maximum run-time of 1 second). We have a page about running Python on your own computer if you want to lift these limits.

For teachers

  • The teacher should create an account;
  • then each student should create an account, go to "Edit My Profile" in the user menu at top right, and set the guru to be the teacher's account name.