Unit 4 Lesson 9 Level 5

Is there a example solution for the function? There are no solutions on this Lesson.

They will probably get that filled in but for now, this is what I have:

1 Like

@eileen.ferree Thanks for posting this question. Since this is an Explore/Investigate lesson, there are no solutions. The lesson was designed this way to allow students to come up with their own solutions. Students should test out different modifications to the code. The lesson plan and slides will also guide your expectations for the lesson.

I have included a solution I came up with that can be used [ here ].
You’ll notice that I decided to only have one line of code inside my updateScreen( ) function on line 9. I could have included more lines of code that are repeated in the program.

Please let us know if you have more questions.

1 Like

Thank you

Eileen Ferree