Maintenance

Site is under maintenance — quizzes are still available.

Go to quizzes
Python · Fundamentals

Python

Step-by-step Python tutorials — ordered lessons from basics to advanced.

Sponsored

Lesson outline

  1. 1
    What is Python Basics

    Learn the basics of Python in this lesson: explore what Python is, how to understand its core concepts, and apply them in a hands-on exercise. Designed for developers starting step by step.

  2. 2
    Install Python on Any OS

    Step-by-step guide to install Python on Windows, macOS, and Linux. Includes troubleshooting and next lesson.

  3. 3
    First Python Script

    Write and run your first Python script in this hands-on tutorial. Learn the core concept, step-by-step walkthrough, troubleshooting, and what to study next in the Python fundamentals track.

  4. 4
    Python REPL Shell

    Learn to use the Python interactive shell (REPL) for quick code testing and exploration. This hands-on tutorial covers launching the shell, executing commands, and troubleshooting common issues.

  5. 5
    Python Variables & Data Types

    Master Python variables and built-in data types (int, float, string, bool) with clear examples and a practical exercise. Understand dynamic typing, common pitfalls, and when to use each data type — perfect for step-by-step learners.

  6. 6
    Work with Numbers

    Master Python integers and floats in this hands-on tutorial. Learn core concepts, step-by-step operations, troubleshooting tips, and compare when to use each numeric type. Perfect for step-by-step learners.

  7. 7
    String Methods in Python

    Learn to manipulate strings using common Python methods. This lesson covers core string operations with hands-on exercises, troubleshooting tips, and next steps for progressive mastery.

  8. 8
    Master f-string Formatting

    Master string formatting with f-strings in Python with hands-on exercises and practical edge-case handling.

  9. 9
    Collect data with lists and tuples

    Learn to collect and organize data in Python using lists and tuples. This lesson explains their differences, typical use cases, and how to choose between them in your code.

  10. 10
    Python Slicing & Indexing

    Master slicing and indexing sequences in Python. This lesson covers core concepts, practical steps, common errors, and what to learn next.

  11. 11
    Python Dictionaries for Key-Value Data

    Learn to create and use dictionaries for key-value data in Python. This tutorial covers dictionary creation, access, modification, and deletion, with practical exercises and troubleshooting tips.

  12. 12
    Python Sets & Unique Operations

    Understand how Python sets work, their unique operations (union, intersection, difference), and when to use them. Hands-on walkthrough with troubleshooting and next steps.

    Python — step-by-step tutorials

    What you will find here

    This track walks through python in order — each lesson is server-rendered HTML you can read without JavaScript. Follow the outline, then practice in the browser IDE when a lesson links to runnable code.

    Tutorials vs quizzes and code samples

    Tutorials teach in sequence. For quick checks use quizzes. For copy-paste snippets see code samples. For deeper reading browse articles.