Mix n Match


#1



# Make me false!
bool_one = (2 <= 2) and "Alpha" == "Bravo"  # We did this one for you!

# Make me true!
bool_two = (5>9) or (9>5)

# Make me false!
bool_three = not (6 != 5) and not ( 6<3)

# Make me true!
bool_four =  ( "Zeb" == "Mask" or ( 9 > 5)

# Make me true!
bool_five = (5 < 6) or "Goat" == "Chin"


#2

Is there a question to go with this, or have you just posted a solution?


#3

My bad, apologies!!
I'm not able to figure out why its showing error for the fifth variable?


#4

What error are you getting? Is it the SCT or the console?


#5

it says...make sure you have a value for all five variables!


#6

can you help me out?


#7

This is the line that is raising a syntax error. Count the parens.


#8

Ohh.I don't know how I missed it.:smiley:
thank you


#9

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