A series of Python type challenges made by laike9m:
https://python-type-challenges.zeabur.app/
Even in the basic challenges, I’ve discovered typing.Final
(added in version 3.8) and the deprecated typing.TypeAlias
(added in version 3.10 but deprecated since version 3.12) that should be replaced with the type
statement.
typing.Final
Final names cannot be reassigned in any scope. Final names declared in class scopes cannot be overridden in subclasses. For example:
type
statement
The type statement declares a type alias, which is an instance of typing.TypeAliasType.
For example, the following statement creates a type alias: