Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Unfortunately, I didn't work on this one locally (Couldn't be bothered to set up the local tests with this one), so I don't have the same collections of attempts.
I am respecting the conditions of the notes section. I can see that the message has changed. My living_room function has logic which depends only on prisoner_number, lightbulb, and previous_visits. I do not have code outside of the living room function, and I haven't introduced any additional data structures. Update: I managed to pass after shuffling around the logic.
I am getting the error: "living_room should be the only name in the global scope, and it should not have a state," but I haven't added any additional variables to the code, inside or outside of living_room.
Can someone give me a hint as to what this might mean?