-3

i have some problem, when i run py -tt first_ai.py a message like this appear :

File "first_ai.py", line 41
    NN = Neural_Network()
                        ^
IndentationError: unindent does not match any outer indentation level

my part of code is :

NN = Neural_Network()

   o = NN.forward(X)

   print("Sorti predit par l'IA : \n" + str(o))
   print("Vrai sorti : \n" str(y))
DjaouadNM
  • 22,013
  • 4
  • 33
  • 55
Tamanegy
  • 1
  • 1

1 Answers1

1

Why is the source code after NN = Neural_Network() indented? There is no reason to do this.

NN = Neural_Network()

o = NN.forward(X)

print("Sorti predit par l'IA : \n" + str(o))
print("Vrai sorti : \n" str(y))
Christopher Graf
  • 1,929
  • 1
  • 17
  • 34