# \[SOLVED\] Reindeer Wakeup - Python

**URL:** <https://discourse.codecombat.com/t/solved-reindeer-wakeup-python/20877>\
**Category:** Level Help\
**Created:** [April 8, 2020, 4:39pm UTC](https://discourse.codecombat.com/t/solved-reindeer-wakeup-python/20877 "2020-04-08T16:39:21Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![dedreous](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/dedreous/32/13849_2.png) [@dedreous](https://discourse.codecombat.com/u/dedreous)\
**Post date:** [April 8, 2020, 7:18pm UTC](https://discourse.codecombat.com/t/solved-reindeer-wakeup-python/20877/21 "2020-04-08T19:18:39Z")

</div>

With your original code, line 14:

```
    deerStatus[deerIndex] = "awake"

```

Since you are iterating through friends, using deerIndex as your counter, you want to use deerIndex as the reference for the proper deerStatus element.

---

<div class="post-metadata">

**Author:** ![Code\_Kid13](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/code_kid13/32/11686_2.png) [@Code\_Kid13](https://discourse.codecombat.com/u/Code_Kid13)\
**Post date:** [April 8, 2020, 7:26pm UTC](https://discourse.codecombat.com/t/solved-reindeer-wakeup-python/20877/22 "2020-04-08T19:26:23Z")

</div>

Thank you!!! It finally worked!!!

---

<div class="post-metadata">

**Author:** ![dedreous](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/dedreous/32/13849_2.png) [@dedreous](https://discourse.codecombat.com/u/dedreous)\
**Post date:** [April 8, 2020, 7:37pm UTC](https://discourse.codecombat.com/t/solved-reindeer-wakeup-python/20877/23 "2020-04-08T19:37:40Z")

</div>

You are most welcome…but, do you understand the concept and why it worked? That was the whole point to all this! 😁

---

<div class="post-metadata">

**Author:** ![Code\_Kid13](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.codecombat.com/code_kid13/32/11686_2.png) [@Code\_Kid13](https://discourse.codecombat.com/u/Code_Kid13)\
**Post date:** [April 8, 2020, 7:38pm UTC](https://discourse.codecombat.com/t/solved-reindeer-wakeup-python/20877/24 "2020-04-08T19:38:46Z")

</div>

Yeah. I had to loop through the array.

[Previous page](https://discourse.codecombat.com/t/solved-reindeer-wakeup-python/20877.md?page=1)
