Can anyone explain please


#1

class Animal(object):
pass= animal

my_animal=Animal()

File "python", line 2
pass= animal
^
IndentationError: expected an indented block


#2

Hi @systemmaster53319,

  1. pass = animal should be indented four spaces to the right for it to be a part of Animal class declaration.
  2. You should write pass all by itself , and not equal it to anything else.