Python Basics
Local Setup and Development Environment
Last Updated: December 9, 20251. What is Python? Python is a high-level, interpreted, and general-purpose programming language. 2. Installing the Python Interpreter To run...
Core Syntax, Variables, and Comments
Last Updated: December 9, 20251. Python’s Core Syntax: Indentation Unlike many programming languages that use curly braces ({}) or keywords to define blocks of...
Data Types and Type Conversion
Last Updated: December 9, 2025Every value in Python has a data type. Understanding the type of data you are working with is crucial because...
Control Flow: Conditionals
Last Updated: December 9, 2025This chapter details the fundamental concept of Control Flow, specifically how to use conditional statements (if, elif, else) to make...
Control Flow: Loops
Last Updated: December 9, 2025Loops allow a program to perform a repetitive task efficiently. Python has two primary loop constructs: the while loop and...
Functions
Last Updated: December 9, 2025A function is a block of code that is organized, reusable, and performs a single, related action. Functions are essential...
Data Structures I: Lists and Tuples
Last Updated: December 9, 2025This chapter introduces the first two fundamental collection data types in Python: Lists (mutable) and Tuples (immutable). These structures are...
Data Structures II: Dictionaries and Sets
Last Updated: December 9, 2025This chapter concludes the introduction to Python’s core data structures by covering two essential unordered collections: Dictionaries (key-value pairs) and...
