Beginner
Core Python fundamentals: variables, strings, control flow, functions, data structures, error handling, and modules.
Progress: 0 / 15 topics completed
Python Fundamentals
Introduction to Python
What Python is, how to run it, and why it is one of the most popular languages in the world.
Variables and Data Types
Creating variables, Python's core data types, and type conversion.
Strings
Creating, formatting, and manipulating text with Python's built-in string methods.
Operators and Expressions
Arithmetic, comparison, logical, and assignment operators in Python.
Input and Output
Reading user input with input(), printing output with print(), and formatting numbers.
Control Flow
Conditionals (if / elif / else)
Making decisions in your program with if, elif, and else statements.
for Loops
Iterating over sequences, ranges, and collections with Python's for loop.
while Loops
Repeating code as long as a condition holds with while loops.
Functions
Defining reusable blocks of code with def, parameters, return values, and default arguments.
Data Structures
Lists
Python's most versatile collection: creating, indexing, slicing, and modifying ordered lists.
Tuples and Sets
Immutable ordered tuples and unordered unique-value sets when and why to use each.
Dictionaries
Key-value mappings Python's go-to structure for fast lookup, grouping, and structured data.
List Comprehensions
Building lists concisely with Python's list comprehension syntax a core Pythonic idiom.