Challenge - instance-var
3.12.7
type checker:  pyright

Complete code following the instructions, so that lines followed by # expect-type-error (if any) fail type check, while others can pass.
Hit the "▶️ Run" button to see result.

💡 Read Hints

Annotating an instance variable is the same as annotating a variable, except that you have to put the code in the class body.

🥰 Like type challenges? I also built Clicknow, click to know the world's knowledge with the power of AI