Python

Free

Learn Python on your iPhone

Learn Python with 40 short lessons and 200 exercises. Each lesson explains the idea, shows you an example and gets you practicing, with an AI tutor that gives hints when you get stuck.

lessons
40
exercises
200
Beginner
10
Intermediate
15
Advanced
15
Syntax, the 3D SyntaxQuest mascot

What is Python used for?

Python is a general-purpose language with very readable syntax. It is used for automation, data analysis, artificial intelligence and backend work, and it is the most recommended first language.

How the course starts

  1. 01

    Hello World

    print(), comments, indentation, and how to run your first script.

  2. 02

    Variables and Types

    int, float, str, bool, type(), and multiple assignment.

  3. 03

    Operators

    Basic arithmetic, comparison, and logic in Python.

  4. 04

    Strings

    f-strings, slicing, and useful methods for working with text.

  5. 05

    User Input

    Read data with input() and convert it to int, float, and str.

  6. +35 more lessons in the app

    The full syllabus, the explanations and the practice are in the app.

Python course syllabus

Beginner 10 lessons

  1. Hello World
  2. Variables and Types
  3. Operators
  4. Strings
  5. User Input
  6. Conditionals
  7. For Loop
  8. While Loop
  9. List Comprehensions
  10. Match/Case

Intermediate 15 lessons

  1. Defining Functions
  2. Args and Kwargs
  3. Scope and Closures
  4. Lambda Functions
  5. Decorators
  6. Lists
  7. Tuples and namedtuple
  8. Dictionaries
  9. Sets and frozenset
  10. Collections
  11. Classes and Objects
  12. Inheritance
  13. Multiple Inheritance and MRO
  14. Special Methods
  15. Properties and Class Methods

Advanced 15 lessons

  1. Modules & Imports
  2. Packages & pip
  3. Exceptions
  4. Custom Exceptions
  5. Context Managers
  6. Reading and Writing Files
  7. JSON and Serialization
  8. Structured CSV
  9. Regular Expressions
  10. Path and Operating System
  11. Generators and Iterators
  12. Async and Await
  13. Type Hints
  14. Testing in Python
  15. Best Practices

A question from the course

Variables and Types

Complete the multiple assignment to store a name and a boolean:

name, active = "Ana", ___

The answer, the explanation and many more exercises are waiting for you in the app.

Download

Questions about the course

Is the Python course free?

Yes. Python is one of SyntaxQuest's free courses: download the app and start without paying.

Do I need experience to learn Python?

No. The course starts at beginner level (10 lessons) and moves on to intermediate and advanced at your pace.

How long is the Python course?

It has 40 lessons and 200 exercises. Lessons are short, so you can move forward a few minutes a day; adaptive learning brings back what you are about to forget.