EXERCISES
Completion requirements
beginner-friendly exercises based on the topics you’ve covered.
4. 4. Comparison Operators
Create two variables:
x = 25 y = 40
Write code to check and print:
-
if
xis greater thany -
if
xis equal toy -
if
yis greater thanx