10.Mezclá y Convina // Mix and Convine


#1

Hola todos/as! Acá dejo mi código: [Hi all! Here's my code:]

# ¡Haceme igual a False!
bool_one = (5 ** 2) + 254 /0.75 == 24

# ¡Haceme igual a True!
bool_two = -10 * 3 != "cacona"

# ¡Haceme igual a False!
bool_three =  (22 + 8) and (44 / 2) = 20

# ¡Haceme igual a True!
bool_four = 8 >= 8 or 20 != 10

# ¡Haceme igual a True!
bool_five = not 2*3 = 40 and 15 + 15 = 30

My error: " File "python", line 10
SyntaxError: can't assign to operator"


#2

Please post a link to this lesson. Thank you.


#3

Here's the link


#4

    ... == 20

    ... == 40 and 15 + 15 == 30

I just did this exercise and passed using expressions similar to this:

# ¡Haceme igual a False!
bool_one = True and not True or not True and True

#5

i feel such an idiot :pensive: jaja
thnx. I guess i was quite burnt out (i hope so)