And (I have no idea what I'm doing)


#1



bool_one = 1=0 or 3=1

bool_two = "False"

bool_three = "False"

bool_four = "True"

bool_five = 1=1 or 1=1

https://www.codecademy.com/courses/python-beginner-BxUFN/2/2?curriculum_id=4f89dab3d788890003000096


Oops, try again. Your code looks a bit off. Check the Hint if you need help! Your code threw the following error: can't assign to literal (python, line 1)

File "python", line 1
SyntaxError: can't assign to literal

I have no idea how to do this please help

Replace this line with your code.


#2

using a single equal sign means assign, so this:

 1=0

means: assign zero to one, wait what? if you want to compare, use two equal signs:

1 == 0 # which is obviously false

#3

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