Help with The Big IF


#1



https://www.codecademy.com/en/courses/python-beginner-BxUFN/4/1?curriculum_id=4f89dab3d788890003000096#


It's telling me it's retuning "I did this wrong"

for it to return True, because "Danny" is the only true statement.


Replace this line with your code.


#2

Apologies, but your ask for help is too vague. Please provide a copy paste of your code and exact error response so we can better help you.


#3

def the_flying_circus():

if answer == "Steve" or "Mark":   
    return "I did this wrong"

elif answer == "Danny":
    return "True"

else:
    print "I did this wrong" 

print the_flying_circus("Danny")

#4

is responding...Oops, try again. the_flying_circus() should return True, instead it returned: 'I did this wrong'


#5

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