I was playing the munchkin swarm level in python and it kept on telling me I need to indent my if statement, even after I had already done so.
My code looked something like this:
enemy = self.findNearestEnemy()
if enemy > 10:
self.attack("Chest")
if enemy < 10:
self.cleave(enemy)
and the same message saying “Code needs to line up, improper indent” appears every time.