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 answers

0
TigerhawkT3 On

The body of a function definition must be indented.

Wrong:

def f():
print(1)

Right:

def f():
    print(1)