Relations and Boolean Expressions

The questions below are due on Friday June 14, 2024; 10:00:00 PM.
 
You are not logged in.

Please Log In for full access to the web site.
Note that this link will take you to an external site (https://shimmer.mit.edu) to authenticate, and then you will be redirected back to this page.
For each of the expressions below, specify its value. Be careful of types! If you get stuck, try running in Python, and make sure your understand the result!


Link to relevant section of reading

4 > 4
4 >= 4
2 + 2 == 4
True or False
not False
3.0 - 1.0 != 5.0 - 3.0
3 > 4 or (2 < 3 and 9 > 10)
Next Exercise: Numeric Expressions
Back to exercises