A problem that i was facing just don't know what could be the solution


#1



I am stuck at topic 6 of Conditionals and Control Flow which is topic 'And'
https://www.codecademy.com/courses/python-beginner-BxUFN/2/2?curriculum_id=4f89dab3d788890003000096#
Please guys help me out!!

The console window shows the following error message
File "python", line 13
SyntaxError: can't assign to literal

Well actually the aim of the exercise was to assign each variable to the appropriate boolean value. This is the actual exercise:

Set bool_one equal to the result of False and False
Set bool_two equal to the result of -(-(-(-2))) == -2 and 4 >= 16**0.5
Set bool_three equal to the result of 19 % 4 != 300 / 10 / 10 and False
Set bool_four equal to the result of -(1**2) < 2**0 and 10 % 10 <= 20 - 10 * 2
Set bool_five equal to the result of True and True


bool_one = 1 > 2 and 2 > 3
print 'bool_one'

bool_two = -(-(-(-2))) == -2 and 4 >= 16**0.5
print 'bool_two'

bool_three = 19 % 4 != 300 / 10/ 10 and 6 > 5
print 'bool_three'

bool_four = -(1**2) < 2**0 and 10 % 10 <= 20 - 10 *2
print 'bool_four'

bool_five = 5 = 5 and 3 > 1
print 'bool_five'


#2

Hi this line

bool_five = 5 = 5 and 3 > 1

you should change the = between 5 and 5 to ==


#3

@courseninja35815

Okay so on bool_five in between the fives put == instead of =. = means to show value. == means equals too.

Happy to help!


#5