Typescript Nested Class Python Syntax For Practice