Home / Python Beginner
Python Beginner
Start coding from zero with Python: variables, strings, lists, loops, functions and files — short lessons, real examples and an exercise in every lesson.
Start learning ❯❯116 lessons · 33 topics · 0/116 completed
Course contents
Work top to bottom — the sidebar is the course. Topics later in the list assume the ones before them.
Python Intro
Beginner · ⏱ 5 min · standalone lesson
Getting Set Up
Start: Python Installation ❯Syntax & Comments
Start: Python Syntax ❯Output & Input
Start: Python Output ❯Variables & Casting
- Python Variables
- Python Variable Names
- Python Assign Multiple Values
- Python Output Variables
- Python Casting
- Python Constants
Data Types
Start: Python Data Types ❯Strings
- Python Strings
- Python String Indexing
- Python String Slicing
- Python Modify Strings
- Python String Concatenation
String Formatting & Methods
- Python Format Strings (f-strings)
- Python Number Formatting
- Python Escape Characters
- Python String Methods
- Python Text Processing
Operators
- Python Arithmetic Operators
- Python Assignment Operators
- Python Comparison Operators
- Python Logical Operators
- Python Identity & Membership Operators
- Python Operator Precedence
If & Match
- Python If Statement
- Python Elif & Else
- Python Nested If
- Python Conditional Expressions
- Python Pass Statement
- Python Match Statement
While Loops
Start: Python While Loops ❯For Loops
Start: Python For Loops ❯Loops in Depth
Start: Python Nested Loops ❯Functions
- Python Functions
- Python Function Arguments
- Python Default & Keyword Arguments
- Python Return Values
- Python Arbitrary Arguments
Functions in Depth
Start: Python Lambda Functions ❯Lists
- Python Lists
- Python Access List Items
- Python Change List Items
- Python Add & Remove List Items
- Python Loop Lists
Lists in Depth
- Python List Comprehension
- Python Sort Lists
- Python Copy & Join Lists
- Python List Methods
- Python Nested Lists
Tuples
Start: Python Tuples ❯Sets
- Python Sets
- Python Access & Add Set Items
- Python Remove Set Items
- Python Set Operations
- Python Set Methods
Dictionaries
- Python Dictionaries
- Python Access Dictionary Items
- Python Change & Add Dictionary Items
- Python Remove Dictionary Items
- Python Loop Dictionaries
Dictionaries in Depth
Start: Python Nested Dictionaries ❯Classes & Objects
- Python Classes & Objects
- Python The __init__ Method
- Python Class & Instance Attributes
- Python Object Methods
Inheritance & Polymorphism
Start: Python Inheritance ❯Python Iterators
Beginner · ⏱ 6 min · standalone lesson
Modules
Start: Python Modules ❯Useful Modules
Start: Python Math Module ❯Files
- Python Open & Close Files
- Python Read Files
- Python Write to Files
- Python File Paths
- Python Delete Files
Python Files Project: Word Counter
Beginner · ⏱ 8 min · standalone lesson
Errors & Exceptions
- Python Errors & Tracebacks
- Python Try Except
- Python Else & Finally
- Python Raise Exceptions
- Python Common Exceptions
- Python Debugging Basics
Pip & Virtual Environments
Start: Python PIP ❯Python Project: Guessing Game
Beginner · ⏱ 8 min · standalone lesson
Python Project: To-Do List
Beginner · ⏱ 9 min · standalone lesson
Python Project: Text Report
Beginner · ⏱ 9 min · standalone lesson