[SOLVED] Reindeer Wakeup - Python

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.

2 Likes

Thank you!!! It finally worked!!!

1 Like

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

Yeah. I had to loop through the array.

1 Like