Getting Started in Python

Lessons in this section

  1. Introduction to Python

    What Python is, why people learn it, where it is used, how to run your first program, and the three tools every program needs: print(), input() and comments.

  2. Variables and Data Types

    How to store a value in a name, the kinds of value Python works with, how to check and convert between them, and why indentation changes what a program does.

  3. Operators

    The symbols that do the work in Python: arithmetic, comparison, assignment shortcuts, and, or, is, in, bitwise, the walrus operator, and precedence.