Cursed Valley glitch?

So I just started the level and I got this error message, I have not typed anything in yet so I have no clue what is wrong. Please help! Thanks!


is wrong because of a period it’s


It’s weird because the default code doesn’t have that line “self.attack.(enemy)”

Also, I see “s” in line 2

Are you sure that you did nothing?

huh I just got this level but when I got rid of the period it worked. Thanks!