I have this error and I can't really find why it occurs, if anyone could help me is would be really nice, the code is pretty long so any help is really appreciated ! This error showed up after I filled the condition gamestate = MYLEVELS, however i don't understand how what I added has an impact on this specific line of code, I'm a beginner so I struggle a bit right now, here is the entire code :
I actually don't see how that would cause that error, but just a note, instead of using a generator expression then forcing it using `list`, you can just use a list comprehension: ```python [i == j for object, j in selected_objects] ```