Awnser to Conditionals and Control Flows for lesson 7.Or


Lesson 7.Or on Conditionals and Control Flows

it says Your code looks a bit off. Check the Hint if you need help! Your code threw the following error: invalid syntax (python, line 1)

I Just need the awnser please the whole awnser

Replace this line with your code. 

bool_one = 2**3 == 108 % or "Cleese" == "King Arthur"
bool_two = True or False
bool_three = 100**0.5 >= 50 or False
bool_four = True or True
bool_five = 1**100 == 100**1 or 3 * 2 * 1 !=  3 + 2 + 1


You missed the point of the exercise, you should evaluate the condition (manually) provided by the exercise, and then set bool_one to true:

bool_one = True

or false:

bool_one = False

depending on whether the condition was false or true.

as for you syntax error, it is here: 108 % ... or you want to calculate the remainder, but you forgot to tell which number should be the divisor. choice the number on ... i gave you

asking for answers is not according to the guidelines


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