Values, functions, and control flow
Name values, write typed functions, and choose or repeat work:
- Name values
- Choose numeric types
- Calculate with numbers Floating-point calculations extend these rules.
- Write text
- Build text with f-strings
- Define functions
- Complete work without returning data
- Choose between branches
- Return early
- Keep names in scope
- Repeat with a range
- Repeat while a condition holds
- Give types descriptive names
Next: Absence and failure.