Python - This and that (or This but not that) 9/15


#1

I am having problems with this exercise. I don't understand numbers 3 and 5 (the ones with brackets).
Could someone please help?

bool_one = 6+6/2==7 or not 2**3 !=8 and 80/2==20*2

bool_two = 2(6+4)==5**2 and not 6/2==2+2 or 50*4==25*8

bool_three = 5==2+3 and not 2==1+1 or 3=5

bool_four = 6/2==2+1 or 5*4 !=10+10 and not 50+50 != 50*2

bool_five = 2+1==5 or not 6+1==6 and 5+1==5+5


#2

We're actually only meant to visually parse the expressions in the comments and then assign the result to the variable.

#  6+6/2==7 or not 2**3 !=8 and 80/2==20*2
bool_one = True

Just discovered this is not exercise 9. Which lesson is it?


#3

Thanks so much. I realise now that I've done this and the last couple of exercises wrong. Much appreciated!