Practice: Expressions
Contents
Practice: Expressions#
In this checkpoint, you will test your understanding how to evaluate expressions and to pay attention to their types.
Question 0#
What is the output of the following code snippet?
x = 2.4
y = 1.2
x = x / y
y = 5
print(x ** 2 <= y)
Make sure your output is well-formatted!
If your output is an
int
value like3
, you should write:3
If your output is a
float
value like3.2
, you should write:3.2
If your output is a
bool
value likeTrue
, you should write (capitalization matters!):True
Your Task
Write your answer down in your own space.