-1

python says i have to fix some indent in the "class OBstaclesManager" line, it says expected indented block. what do i fix

class ObstaclesManager:
    def __init__(self):
        self.obstacles_list = []

    def generateobstacles(self):
        can_gen = True
        for obstacle in self.obstacles_list:
            if obstacle.x > win_w*0.75:
                can_gen = False
DirtyBit
  • 16,613
  • 4
  • 34
  • 55
Sima
  • 1

1 Answers1

0

You could use cat to distingusih tabs and spaces

this command shows tabs as '^I'

cat -A myfile
mirhossein
  • 682
  • 7
  • 16