Whats wrong in my program?


#1

def the_flying_circus(p):
if p==2:
print "true"
elif (2==2) and (4==4):
print "true"
else:
print "false"
return "true"

btw in my actual program I indented correctly, I just dont know how to do it here.


#2

@plp000,
Please re-edit your Post

  • leave one blank-line above of your code
  • select your code in the Post
  • then =click= on the </>-symbol-of-this-editor

Your code will then be in a pre-code state
and you will be able to make/present the proper indentations.