What am I doing wrong?(Mac keyboard)


#1

I'm on 10. Mix n' match and this is my code:

Make me true!
bool_two = 2 = 2 and 3 = 3

What did I do wrong? I did what it said but I'm getting this wrong.

Heres my whole code:

Use boolean expressions as appropriate on the lines below!

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

Make me true!
bool_two = 2 = 2 and 3 = 3

Make me false!
bool_three = 5**3 * 2 = 2 and 6**3 * 1 = 4

Make me true!
bool_four = 3 = 2 + 1

Make me true!
bool_five = 9 = 3 + 6

Those are all I did and for bool_two I can't find out what I did wrong.:confused:


#2

a single equal sign means assign. To check if things are equal, use two equals signs


#3

Oh thanks! That helped I think I should pay more attention!


#4

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