Skip to content
← Back to Community
parse error
Profile icon
HamzaSajid1

why is this giving parse error

Voters
Profile icon
DiegoAlds
Profile icon
HamzaSajid1
Comments
hotnewtop
Profile icon
elonmaks

Hi, @HamzaSajid1 . Please, read the traceback. And you will see why it happens. It says about indentation. Python language is sensitive to indentation from left side.

Profile icon
ash15khng

In line 25 your square function should not have 1 space in front of it.

Profile icon
HamzaSajid1

@ash15khng love u bro

Profile icon
ash15khng

Uh ok then you can mark my answer as correct? @HamzaSajid1