Problems and Solutions
Another solution here:def the_flying_circus(): if 3 < 4 and not 3 < 4: # Start coding here! return True print the_flying_circus() # Don't forget to indent # the code inside this block! elif 3 != 4 and 3 > 4: return False print not the_flying_circus() else: return True print not the_flying_circus()
Here is another solution: # Make sure that the_flying_circus() returns Truedef the_flying_circus(): if (3 + 4) == (5 + 2): # Start coding here! return True # Don't forget to indent # the code inside this block! elif 100 == 10 ** 2: return True else: return False print the_flying_circus # Keep going here. # You'll want to add the else statement, too!
def the_flying_circus(): if 2<4 and 3<4: return True elif 2>4: return False else: print "crazy"
# Make sure that the_flying_circus() returns Truedef the_flying_circus(): if 8 >= 8 and "A" == "A" : # Start coding here! return True # Don't forget to indent print "Ok"# the code inside this block! elif 3 < 8 : return False # Keep going here. print "Opps" # You'll want to add the else statement, too! else: print "Smth"
Another solution here:
ReplyDeletedef the_flying_circus():
if 3 < 4 and not 3 < 4: # Start coding here!
return True
print the_flying_circus()
# Don't forget to indent
# the code inside this block!
elif 3 != 4 and 3 > 4:
return False
print not the_flying_circus()
else:
return True
print not the_flying_circus()
Here is another solution:
ReplyDelete# Make sure that the_flying_circus() returns True
def the_flying_circus():
if (3 + 4) == (5 + 2): # Start coding here!
return True # Don't forget to indent
# the code inside this block!
elif 100 == 10 ** 2:
return True
else: return False
print the_flying_circus
# Keep going here.
# You'll want to add the else statement, too!
def the_flying_circus():
ReplyDeleteif 2<4 and 3<4:
return True
elif 2>4:
return False
else:
print "crazy"
# Make sure that the_flying_circus() returns True
ReplyDeletedef the_flying_circus():
if 8 >= 8 and "A" == "A" : # Start coding here!
return True # Don't forget to indent
print "Ok"# the code inside this block!
elif 3 < 8 :
return False # Keep going here.
print "Opps" # You'll want to add the else statement, too!
else:
print "Smth"