Skip to content
← All languages

Python from zero

From your first line of code to solving DSA problems in Python.

  1. 00

    Set up your computer

    Install Python and VS Code, and run your first program on your own machine.

  2. 01

    Your first program

    Printing, how Python runs your code, and reading error messages.

  3. 02

    Variables and types

    Store numbers, text and true/false values, and change them.

  4. 03

    Taking input

    Read numbers and words with input(), the way DSA problems give you their input.

  5. 04

    Operators and maths

    Arithmetic, whole-number division and remainders, and comparisons.

  6. 05

    If / else

    Make your program choose what to do. Indentation matters.

  7. 06

    Loops

    Repeat work with for and while, and read lists of numbers.

  8. 07

    Nested loops and patterns

    Loops inside loops, and printing shapes row by row.

  9. 08

    Functions

    Name a piece of code, give it inputs, and reuse it.

  10. 09

    Lists

    Keep many values in one place, and loop over them.

  11. 10

    Strings

    Work with text character by character.

  12. 11

    2D lists

    Grids and tables: lists of lists.

  13. 12

    Dictionaries and sets

    Look things up by key, count things, and keep only unique values.

  14. 13

    Recursion

    Functions that call themselves on a smaller problem.

  15. 14

    Classes, sorting and nodes

    Your own types, sorting by your own rules, and the nodes behind linked lists.

  16. 15

    How fast is my code?

    Count the steps your code takes, and get ready for LeetCode.

  17. Final exam and certificate

    Pass the exam to get a certificate you can share on LinkedIn.