Why do I keep getting this error despite saying NONE in Python


#1

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

Why do I keep getting this error "_ Oops, try again. Double check your value for bool_two!"

_despite saying NONE in Python

Could you please help.


#2

I don't think "NONE" showing up is much of an indication of whether your value for bool_two is correct? The solution here is probably to do as the error message suggests, re-considering the value of bool_two.


#3

Hi ionatan,

Below is the bool_two inputs . Can you please advise.

bool_one = 1+1 == 9>10

bool_two = 3**4<4**3

bool_three = 10%3<=10%2

bool_four = 3**2 + 4**2 !=5**2

bool_five = 3==2+1


#4

The instructions are to assign the results of certain expressions into their corresponding variables.

The result of a boolean expression is a boolean. There are two boolean values.

So figure out the result for each one and then assign those results to the variables.

Essentially you need to read the instructions more carefully!


#5

Ah!! Silly me :frowning: .
Thanks for your guidence.


#6

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