Compare Closely


#1

What's wrong with my code?

Assign True or False as appropriate on the lines below!

Set this to True if 17 < 328 or to False if it is not.

if 17 < 328 :
bool_one = True

Set this to True if 100 == (2 * 50) or to False otherwise.

if 100 == ( 2*50) :
bool_two = True

Set this to True if 19 <= 19 or to False if it is not.

if 19 <= 19 :
bool_three = True

Set this to True if -22 >= -18 or to False if it is not.

if -22 >= -18 :
bool_four = False

Set this to True if 99 != (98 + 1) or to False otherwise.

if 99 != (98 + 1) :
bool_five = True


#2

Welcome to the world of programming!

If you want help with something, you should take care to present what you've got in an easily reproducible format - that is, I should be able to copy your code and run it and get the same thing to happen. Right now I'll get a syntax error if I don't first clean up what's in your code, and I very might well end up with something different from what you are running, not to mention that it's completely unnecessary work which really just makes it less likely for me to give it a shot.

And you should also explain in what way you think it's wrong and how you think it should behave instead.. Otherwise others won't know what to look for.


#3

Especially if we have to wade through the entire code to find the error at the end.