Python Programming

  1. Core Language Fundamentals
    1. Basic Syntax and Structure
      1. Indentation and Whitespace
        1. Indentation Rules
          1. Four Spaces Standard
            1. Tab vs Spaces Debate
            2. Block Structure
              1. Common Indentation Errors
                1. IndentationError
                  1. Mixed Indentation Issues
                2. Comments and Documentation
                  1. Single-Line Comments
                    1. Hash Symbol Usage
                      1. Inline Comments
                      2. Multi-Line Comments
                        1. Docstrings
                          1. Function Documentation
                            1. Class Documentation
                              1. Module Documentation
                            2. Keywords and Identifiers
                              1. Reserved Words
                                1. Complete Keyword List
                                  1. Keyword Usage Rules
                                  2. Identifier Rules
                                    1. Valid Character Sets
                                      1. Case Sensitivity
                                      2. Naming Conventions
                                        1. Variable Names
                                          1. Function Names
                                            1. Class Names
                                              1. Constant Names
                                          2. Variables and Assignment
                                            1. Variable Creation
                                              1. Assignment Statements
                                                1. Dynamic Typing
                                                  1. Variable References
                                                  2. Multiple Assignment
                                                    1. Parallel Assignment
                                                      1. Tuple Unpacking
                                                        1. Swapping Variables
                                                        2. Naming Best Practices
                                                          1. Snake Case Convention
                                                            1. Descriptive Names
                                                              1. Avoiding Reserved Words
                                                            2. Data Types
                                                              1. Numeric Types
                                                                1. Integers
                                                                  1. Integer Literals
                                                                    1. Binary, Octal, Hexadecimal
                                                                      1. Arbitrary Precision
                                                                        1. Integer Operations
                                                                        2. Floating-Point Numbers
                                                                          1. Float Literals
                                                                            1. Scientific Notation
                                                                              1. Precision Limitations
                                                                                1. Float Operations
                                                                                2. Complex Numbers
                                                                                  1. Complex Literals
                                                                                    1. Real and Imaginary Parts
                                                                                  2. Text Type
                                                                                    1. Strings
                                                                                      1. String Literals
                                                                                        1. Single vs Double Quotes
                                                                                          1. Triple Quotes
                                                                                          2. Escape Characters
                                                                                            1. Common Escape Sequences
                                                                                              1. Raw Strings
                                                                                              2. String Immutability
                                                                                                1. Unicode Support
                                                                                                  1. Character Encoding
                                                                                                    1. Unicode Literals
                                                                                                2. Boolean Type
                                                                                                  1. Boolean Values
                                                                                                    1. Boolean Contexts
                                                                                                      1. Truthiness and Falsiness
                                                                                                        1. Boolean Conversion
                                                                                                      2. None Type
                                                                                                        1. None Value
                                                                                                          1. Use Cases
                                                                                                            1. Default Parameters
                                                                                                              1. Null Object Pattern
                                                                                                            2. Type Conversion
                                                                                                              1. Implicit Conversion
                                                                                                                1. Automatic Type Promotion
                                                                                                                2. Explicit Conversion
                                                                                                                  1. Built-in Conversion Functions
                                                                                                                    1. Type Casting Examples
                                                                                                                  2. Type Checking
                                                                                                                    1. type() Function
                                                                                                                      1. isinstance() Function
                                                                                                                        1. Mutable vs Immutable Types
                                                                                                                      2. Operators
                                                                                                                        1. Arithmetic Operators
                                                                                                                          1. Basic Operations
                                                                                                                            1. Addition
                                                                                                                              1. Subtraction
                                                                                                                                1. Multiplication
                                                                                                                                  1. Division
                                                                                                                                  2. Advanced Operations
                                                                                                                                    1. Floor Division
                                                                                                                                      1. Modulus
                                                                                                                                        1. Exponentiation
                                                                                                                                      2. Comparison Operators
                                                                                                                                        1. Equality Operators
                                                                                                                                          1. Equal To
                                                                                                                                            1. Not Equal To
                                                                                                                                            2. Relational Operators
                                                                                                                                              1. Greater Than
                                                                                                                                                1. Less Than
                                                                                                                                                  1. Greater Than or Equal
                                                                                                                                                    1. Less Than or Equal
                                                                                                                                                    2. Chaining Comparisons
                                                                                                                                                    3. Logical Operators
                                                                                                                                                      1. AND Operator
                                                                                                                                                        1. OR Operator
                                                                                                                                                          1. NOT Operator
                                                                                                                                                            1. Short-Circuit Evaluation
                                                                                                                                                            2. Assignment Operators
                                                                                                                                                              1. Simple Assignment
                                                                                                                                                                1. Compound Assignment
                                                                                                                                                                  1. Addition Assignment
                                                                                                                                                                    1. Subtraction Assignment
                                                                                                                                                                      1. Multiplication Assignment
                                                                                                                                                                        1. Division Assignment
                                                                                                                                                                      2. Identity Operators
                                                                                                                                                                        1. is Operator
                                                                                                                                                                          1. is not Operator
                                                                                                                                                                            1. Identity vs Equality
                                                                                                                                                                            2. Membership Operators
                                                                                                                                                                              1. in Operator
                                                                                                                                                                                1. not in Operator
                                                                                                                                                                                  1. Container Testing
                                                                                                                                                                                  2. Bitwise Operators
                                                                                                                                                                                    1. Bitwise AND
                                                                                                                                                                                      1. Bitwise OR
                                                                                                                                                                                        1. Bitwise XOR
                                                                                                                                                                                          1. Bitwise NOT
                                                                                                                                                                                            1. Left Shift
                                                                                                                                                                                              1. Right Shift
                                                                                                                                                                                              2. Operator Precedence
                                                                                                                                                                                                1. Precedence Rules
                                                                                                                                                                                                  1. Associativity
                                                                                                                                                                                                    1. Parentheses Usage
                                                                                                                                                                                                  2. Built-in Data Structures
                                                                                                                                                                                                    1. Lists
                                                                                                                                                                                                      1. List Creation
                                                                                                                                                                                                        1. Empty Lists
                                                                                                                                                                                                          1. List Literals
                                                                                                                                                                                                            1. List Constructor
                                                                                                                                                                                                            2. List Access
                                                                                                                                                                                                              1. Indexing
                                                                                                                                                                                                                1. Negative Indexing
                                                                                                                                                                                                                2. List Modification
                                                                                                                                                                                                                  1. Item Assignment
                                                                                                                                                                                                                    1. List Mutability
                                                                                                                                                                                                                  2. Tuples
                                                                                                                                                                                                                    1. Tuple Creation
                                                                                                                                                                                                                      1. Empty Tuples
                                                                                                                                                                                                                        1. Single Element Tuples
                                                                                                                                                                                                                          1. Tuple Literals
                                                                                                                                                                                                                          2. Tuple Access
                                                                                                                                                                                                                            1. Indexing
                                                                                                                                                                                                                              1. Immutability
                                                                                                                                                                                                                            2. Dictionaries
                                                                                                                                                                                                                              1. Dictionary Creation
                                                                                                                                                                                                                                1. Empty Dictionaries
                                                                                                                                                                                                                                  1. Dictionary Literals
                                                                                                                                                                                                                                    1. Dictionary Constructor
                                                                                                                                                                                                                                    2. Key-Value Access
                                                                                                                                                                                                                                      1. Key Lookup
                                                                                                                                                                                                                                        1. Value Assignment
                                                                                                                                                                                                                                        2. Dictionary Mutability
                                                                                                                                                                                                                                        3. Sets
                                                                                                                                                                                                                                          1. Set Creation
                                                                                                                                                                                                                                            1. Empty Sets
                                                                                                                                                                                                                                              1. Set Literals
                                                                                                                                                                                                                                                1. Set Constructor
                                                                                                                                                                                                                                                2. Set Operations
                                                                                                                                                                                                                                                  1. Adding Elements
                                                                                                                                                                                                                                                    1. Removing Elements
                                                                                                                                                                                                                                                      1. Set Uniqueness
                                                                                                                                                                                                                                                  2. Input and Output
                                                                                                                                                                                                                                                    1. User Input
                                                                                                                                                                                                                                                      1. input() Function
                                                                                                                                                                                                                                                        1. Input Prompts
                                                                                                                                                                                                                                                          1. String Return Type
                                                                                                                                                                                                                                                          2. Input Validation
                                                                                                                                                                                                                                                            1. Type Conversion
                                                                                                                                                                                                                                                              1. Error Handling
                                                                                                                                                                                                                                                            2. Output Display
                                                                                                                                                                                                                                                            3. String Formatting
                                                                                                                                                                                                                                                              1. F-String Formatting
                                                                                                                                                                                                                                                                1. Basic Syntax
                                                                                                                                                                                                                                                                  1. Expression Evaluation
                                                                                                                                                                                                                                                                    1. Format Specifications
                                                                                                                                                                                                                                                                    2. format() Method
                                                                                                                                                                                                                                                                      1. Positional Arguments
                                                                                                                                                                                                                                                                        1. Keyword Arguments
                                                                                                                                                                                                                                                                          1. Format Specifications
                                                                                                                                                                                                                                                                          2. Percent Formatting
                                                                                                                                                                                                                                                                            1. C-Style Formatting
                                                                                                                                                                                                                                                                              1. Format Specifiers
                                                                                                                                                                                                                                                                              2. Choosing Formatting Methods