# Unit 4 Lesson 9 Level 5

**URL:** <https://forum.code.org/t/unit-4-lesson-9-level-5/33431>\
**Category:** Unit and Lesson Discussion\
**Created:** [September 29, 2020, 10:41pm UTC](https://forum.code.org/t/unit-4-lesson-9-level-5/33431 "2020-09-29T22:41:23Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eileen.ferree](https://avatars.discourse-cdn.com/v4/letter/e/87869e/32.png) [@eileen.ferree](https://forum.code.org/u/eileen.ferree)\
**Post date:** [September 29, 2020, 10:41pm UTC](https://forum.code.org/t/unit-4-lesson-9-level-5/33431/1 "2020-09-29T22:41:23Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jdonwells](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/jdonwells/32/7900_2.png) [@jdonwells](https://forum.code.org/u/jdonwells)\
**Post date:** [September 30, 2020, 4:01pm UTC](https://forum.code.org/t/unit-4-lesson-9-level-5/33431/2 "2020-09-30T16:01:24Z")

</div>

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

> **[Check out what I made](https://studio.code.org/projects/applab/0gbm-i7bmB_pP8HSJAMsYbnX2_oPnbnHwe9ekvrwE9g)**
>
> I wrote the code myself with Code.org

---

<div class="post-metadata">

**Author:** ![terence.stone25](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.code.org/terence.stone25/32/5124_2.png) [@terence.stone25](https://forum.code.org/u/terence.stone25)\
**Post date:** [September 30, 2020, 4:13pm UTC](https://forum.code.org/t/unit-4-lesson-9-level-5/33431/3 "2020-09-30T16:13:48Z")

</div>

@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](https://studio.code.org/projects/applab/1KZIoWog3ItyxmKdvejkam6xlWnqzN4jiAvDIDvWsfQ) ].  
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.

---

<div class="post-metadata">

**Author:** ![eileen.ferree](https://avatars.discourse-cdn.com/v4/letter/e/87869e/32.png) [@eileen.ferree](https://forum.code.org/u/eileen.ferree)\
**Post date:** [September 30, 2020, 4:26pm UTC](https://forum.code.org/t/unit-4-lesson-9-level-5/33431/4 "2020-09-30T16:26:11Z")

</div>

Thank you

Eileen Ferree
