Back to all courses

Programming with Python

Learn one of the most in-demand programming languages the fun way.

Python is one of the most widely used programming languages, and it is an excellent first language for new programmers. It can be used for everything from video games to data visualization to machine learning.

Right from the start, this course will show you how to use Python to create intricate drawings, coded messages and beautiful data plots. And along the way, you'll learn core programming concepts such as variables, control flow, and simulation.

Interactive
quizzes

20

Concepts and
exercises

205+
  1. 1

    Introduction

    Get a sneak peek of what you'll be able to build with Python.

    1. Reading and Running Code

      Understand what every part of a small program is doing, with some help from a turtle.

    2. Drawing Many-Pointed Stars

      A little geometry and a little code goes a long way towards making beautiful images!

    3. Using Statistics to Break Codes

      Coding can help you solve complicated problems in wonderful ways.

  2. 2

    Drawing

    Create an intricate drawing in just a few lines of Python.

    1. Included with
      Brilliant Premium

      Turtle Drawing

      Start learning Python by making art with a turtle.

    2. Included with
      Brilliant Premium

      Drawing Letters

      Make your turtle more literate and more powerful when you start writing letters.

    3. Included with
      Brilliant Premium

      Drawing with Loops

      Easily make shapes like curves and stars by writing code that automatically repeats.

    4. Included with
      Brilliant Premium

      Drawing with Functions

      Build powerful code that's easy to reuse by writing functions.

  3. 3

    Strings

    Become a literal wordsmith.

    1. Included with
      Brilliant Premium

      Strings

      Strings are the key to writing programs that communicate with the outside world.

    2. Included with
      Brilliant Premium

      Indices in Strings

      Look inside strings and see what they're really made of.

    3. Included with
      Brilliant Premium

      Slicing

      Slicing helps find words inside other words. You can't spell "programming" without "gram."

    4. Included with
      Brilliant Premium

      Replace

      Easily pull pieces out of strings and insert new strings in their place.

  4. 4

    Variables

    Explore the power of variables for creation and computation.

    1. Included with
      Brilliant Premium

      Loop Counters

      Use variables to understand the nuts and bolts of loops.

    2. Included with
      Brilliant Premium

      Number Sequences

      Mathematical operations inside loops are better with variables.

    3. Included with
      Brilliant Premium

      Turtle Spirals

      The power of variables gives you the power to make creative turtle spirals.

    4. Included with
      Brilliant Premium

      Sums

      Discover how to sum a sequence with a loop!

  5. 5

    Randomness

    Computers are so predictable? Think again.

    Coming Soon
  6. 6

    Control Flow

    Everything is going according to plan.

    Coming Soon
  7. 7

    Data Visualization

    See the needle in the haystack. And then some.

    Coming Soon
  8. 8

    A Maze Game

    A project where you will build your own computer game!

    Coming Soon