Skip to content
Sign upLog in
← Back to Community

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

Profile icon
superpeter

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)

Answered by Klokat [earned 5 cycles]
View Answer
Voters
Profile icon
superpeter
Comments
hotnewtop
Profile icon
Klokat

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

Profile icon
gervontadavis

I have to search sites with relevant information on given topic and provide them to teacher our opinion and the article. sauce bars

image

Profile icon
gervontadavis

Most home owners today live fairly busy life styles with work, family, sports and other social activities so regular house work and cleaning are sometimes put down the bottom of the priorities list of things to do. Busy householders hendersonville house cleaners would rather spend their free time engaging in more enjoyable activities.

Profile icon
Jastikur

Hmm, I think this problem occurs to many people. I have too much work now and I don't have time to play and relax. I don't even have time to clean the house. You always have to make sacrifices. I wouldn't say I don't enjoy cleaning. I just don't have the time or energy. That's why I started using the services of a cleaning company. It's very convenient and saves time. I entrust this work to professionals, and I am happy with the result afterward. I usually use a specific site, where various cleaning services are presented. I like the fact that I can allocate my time in a quality way.