I can't figure out why my python 3 room cleaning simulator program is throwing an error
superpeter (2)

https://repl.it/@superpeter/CLEAN-DAT-ROOM

why is it saying that messy_things is not defined (i tried self.messy_things, it just said that self was not defined)

You are viewing a single comment. View All
Klokat (41)

Change gameroom.clean(self.messy_things[0]) to gameroom.clean(gameroom.messy_things[0])