Skip to content

Annotating variables and functions

Coming soon

Annotate primitive types, collections (list[int], dict[str, float]), and function signatures.

You'll be able to

  • Annotate function parameter types and return values
  • Use built-in collection types like list[str] and dict[str, int]
  • Annotate local variable assignments when ambiguous

Coming soon

This lesson is being written. The Telegram channel announces new lessons as they open.