Python Tutorial

List of Lessons to Learn Python

This is a list of Python lessons where you can start learning immediately without environment setup.

Study

Python I

Estimated 1h45m

Python is a powerful language that is used in websites, machine learning and more. In this lesson we'll learn the basics of the language.

    • Getting Started

    • Strings

    • Integers

    • Calculations

    • Variables

    • Using Variables

    • Updating Variables

    • String Concatenation

    • Data Types

    • if Statements

    • Booleans

    • else Statements

    • elif Statements

    • Combining Conditions

    • Calculating Prices

    • Getting Input

    • Control Flow

Study

Python II

Estimated 1h55m

In this lesson we'll learn about how to handle data and work with loops.

    • Getting Started

    • Lists

    • Adding and Updating List Elements

    • for Loops

    • Dictionaries

    • Adding and Updating Dictionary Elements

    • for Loops (2)

    • while Loops

    • break Statements

    • continue Statements

    • Preparing the Items

    • Buying an Item

    • Control Flow

    • The Remaining Money

Study

Python III

Estimated 1h45m

In this lesson, we'll be learning about functions and modules while making a Rock Paper Scissors game. They are very important in Python, so make sure you master them here!

    • Getting Started

    • Functions

    • Parameters and Arguments

    • Multiple Parameters

    • Default Parameter Values

    • Getting Input

    • Picking a Hand

    • Return Value

    • Return

    • Adding the Computer

    • Judging the Winner

    • Using Modules

    • Python Standard Library

Study

Python IV

Estimated 2h

Learn how to use Python classes by creating a food ordering system. The content covered in this lesson is very important! So, take it slow and master it!

    • Overview

    • Class Definitions

    • Class Instantiation

    • Instance Variables

    • Multiple Instances

    • Classes and Methods

    • Instance Methods: self

    • Instance Methods: Return Values

    • Instance Methods: Parameters

    • The __init__ Method

    • The __init__ Method (2)

    • The __init__ Method (3)

    • File Separation

    • Displaying the Menu

    • Displaying the Menu (2)

    • Handling Input

    • Calculating the Total Amount

Study

Python V

Estimated 1h30m

Learn a practical way of using the classes covered in Python Study IV called Inheritance. With inheritance, you can give your food ordering system a major upgrade!

    • Overview

    • What is Inheritance?

    • How Inheritance Works

    • Adding Instance Methods

    • Revising the info Method

    • Revising the info Method (2)

    • Overriding the __init__ Method

    • super()

    • Review of Overriding

    • Practical Application

After Finishing Python Lessons

Set up your Python environment and apply what you've learned in the real world.

Courses Related to Python

Expand what you can do by learning related courses.