TheBigIf: Explain to me plzz?


#1



I don't understand what i'm really doing tbh, can someone explain this qn to me?
I don't really know how to do what I'm doing, I did it by trial and error


# Make sure that the_flying_circus() returns True
def the_flying_circus():
    answer=the_flying_circus
    if answer==answer:    
        return True
        # Start coding here!
        # Don't forget to indent
        # the code inside this block!
    elif False or True:
        return "i am not real"
    else:
        print "i dont exist"
        
        # You'll want to add the else statement, too!


#2

@netpro30633,
The only purpose of the lesson
was for you the define a valid IF ELIF ELSE statement construct....

As to the condition's you used .....respect...


#3

errr what do you mean??
if it was sarcasm, im sorry but im not good with this, i tried for like 2 hours
plz give constructive comments as i need to use this as "evidence" for interest in coding and stuff so i need help/explanation quick


#4

also in the space after "if, elif and else" do i have to specify something related directly to the_flying_circus()? I saw other posts and they just put things like 1<100 which i dont see how relates to the_flying_circus()


#5

Leave everything the same and plug these values in

def the_flying_circus():
if 3 > 5:# Start coding here!
return True
# Don't forget to indent
# the code inside this block!
elif True and False != 5:
return True
# Keep going here.
# You'll want to add the else statement, too!
else:
return True


#6

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