The big if problem


the big if

def the_flying_circus():
if False:
return True
elif True == False:
return True
return False

its showing indentation error

Replace this line with your code.


its showing indentation error

You should properly indent your code.

like this example...

def example():
    if condition1:
        return something

Can you see spaces?
When a new block of code starts , you need to use 4 spaces to indent it.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.