7. Or


#1

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

bool_one = 8==8 or 6<10

bool_two = 2>1 or 1>2

bool_three = 10>=50 or 2<1

bool_four = 2>1 or 2<3

bool_five = 1!=100 or 6==6
It says double check your values for bool_five.
What's wrong?


#2

for bool_five you have the following condition:

1**100 == 100**1 or 3 * 2 * 1 != 3 + 2 + 1

which you have to evaluate manually, and then set bool_five to True or False:

# if the condition is true
bool_five = True
# false otherwise:
bool_five = False

same for the other bools


#3

The answer to #5 doesn't make sense to me because it says it's false but 100**1 IS equal to 1**100 so how can the answer be false?


#4

its not, ** is not multiplying, * is the multiply operator, ** is to the power, in math ^ i used. 100 * 1 is 100, 1**100 is 1 (11*1*1 and so on, a hundred times, stays one)


#5

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