Chapter

Working with values

<p>Choose the right kind of value and use comparisons to make a program respond to data.</p>

Lessons

  1. Numbers, strings, and booleans

    Recognize common Python value types and convert input deliberately before calculating.

  2. Conditions and comparisons

    Use if, elif, and else to select behavior from comparisons and boolean expressions.