Missing Indent error in Python

880 Views Asked by At

I am trying to run a python program of othello . But I know why it is showing error in 'copy'

Please help me resolve it

1

There are 1 best solutions below

0
TigerhawkT3 On

The body of a function definition must be indented.

Wrong:

def f():
print(1)

Right:

def f():
    print(1)