section

Section 2

11 public pages derived from Brevvie Python + AI — Section 2: Control Flow & The Treasure Hunt.

Python Control Flow

Python Control Flow python control flow is how a Python program decides what to do next: branch, repeat, stop, or continue. In brevvie python ai section 2 control flow and the trea…

Python Data Shapes

Python Data Shapes python data shapes is a practical way to think about the structure of data at runtime: string, list, dict, or object. In brevvie python ai section 2 control flow…

Python Dataclasses

Python Dataclasses python dataclasses are a lightweight Python way to define structured objects that mostly hold data. In brevvie python ai section 2 control flow and the treasure …

Python Error Handling

Python Error Handling python error handling is the practice of anticipating failure, catching expected exceptions, and responding clearly. In brevvie python ai section 2 control fl…

Python Functions

Python Functions python functions are named blocks of reusable logic. In brevvie python ai section 1 setup your ide, they are introduced as the first step beyond top to bottom scri…

Python Input Validation

Python Input Validation python input validation is the move from accepting raw user input to checking and shaping it into trustworthy program data. In brevvie python ai section 1 s…

Python List Comprehensions

Python List Comprehensions python list comprehensions are a compact way to build a list from another iterable, optionally filtering as you go. In brevvie python ai section 2 contro…

Python Logging

Python Logging python logging is the practice of recording events, warnings, and failures in a structured way instead of relying only on ad hoc print() calls. In brevvie python ai …

Python Loop Types

Python Loop Types python loop types compares the main loop forms emphasized in the wiki: for loops, while loops, and python list comprehensions. It is meant to answer the practical…

Python Loops

Python Loops python loops are Python’s main repetition tools. In brevvie python ai section 2 control flow and the treasure hunt, loops are taught through room exploration, torch co…

Python Regex

Python Regex python regex is Python’s regular expression pattern matching capability, primarily via the re module. In brevvie python ai section 2 control flow and the treasure hunt…