The Big If


#1

hi, I'm stuck with this level, could someone help please? i'm having a brainstorm :smile:


#2

how can we help you? did you ask anything?


#3

sorry about the wait, but I am just really stuck : (


#4

never mind now : ) my dad went through it with me


#5

Plz explain it to me im stuck and my dads dead so he cant help XD


#6

if you've any problem then create a new topic.
post your code and tell us what's your problem?


#7

I'm new to all codecademy and a little stuck here.

Make sure that the_flying_circus() returns True
def the_flying_circus():
if ________: # Start coding here!
# Don't forget to indent
# the code inside this block!
elif ________:
# Keep going here.
# You'll want to add the else statement, too!

Any help please. It wont allow me to review what I learned.
thank you


#8

can anybody help me here pls I am stuck as ■■■■


#9

Here you can put this in

# Make sure that the_flying_circus() returns True
def the_flying_circus(*args):
    answer = args[0] if len(args) > 0 else "Yes"
    if answer== "Yes" :    # Start coding here!
        return True
        # the code inside this block!
    elif answer == "No" or not "Yes":
        return False
        # You'll want to add the else statement, too!
    else :
        return "Can you repeat it please?"

print the_flying_circus("Yes")

#10

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