Click the Green Flag. You will have 5 chances to guess the number. Keeping track of the number of guesses is a Gr 7 expectation. Asking for data from the user (guessing a number) is a Gr 8 expectation
Ontario Math 2020 Grade 7 C3.1 solve problems and create computational representations of mathematical situations by writing and executing efficient code, including code that involves events influenced by a defined count and/or sub-program and other control structures Grade 8C3.1 solve problems and create computational representations of mathematical situations by writing and executing code, including code that involves the analysis of data in order to inform and communicate decisions