Drag the background!

Py4e Python course

A Python course in the browser on Ancient Brain.
Based on Python for Everybody (Py4e) by Charles Severance.

Here are some of the programs (or "Worlds") we will be coding in this course. Click to run them.


Activity 2.1
3 runs ♦ 0 likes
By PY4E  
Created: 2 Jun 2026
Modified: 2 Jun 2026
Activity 1.3
2 runs ♦ 0 likes
By PY4E  
Created: 2 Jun 2026
Modified: 2 Jun 2026

Contents

  1. Variables, Expressions & Statements
  2. Conditional Execution


Notes

  • The Py4e lessons have been adapted for the Ancient Brain coding platform.
  • This gives access to all the Ancient Brain features.
  • For each activity, clone the 'World' and edit it to do the activity.
  • No install needed. Edit in the browser. Run in the browser. You can clone and edit directly from the course.
  • You need to register and log in to edit code.
  • Students can save their programs on the Ancient Brain server and view them from anywhere.


Video

The lessons (and much more) are covered in this master (13 hour) video by Charles Severance. From freeCodeCamp.org



Get started

Let's start the course!
The background is a program, showing the JavaScript graphics used on this site.
The globes light up when you log in.
 
Font:

Users retain ownership of user content.

Platforms      Stats      The name      Terms and conditions

Call for partners      Contact

Call for partners!
Ancient Brain is looking for a partner to co-write a JavaScript or Python coding book for schools, to be used worldwide. This would be a course for students in learning to code from scratch. The book and course will be integrated into the Ancient Brain site. This is an opportunity for someone looking to develop a course and textbook to partner with a site to promote it. Read more.