answer = 5 == 5Line-by-line explanation
- The first
5is compared with the second. ==asks “are these equal?”- The answer
Trueis stored inanswer.
!= means not equal. < and > mean less than and greater than. Adding = gives “less than or equal” and “greater than or equal”.
old_enough = 14 >= 13Line-by-line explanation
14is the value being checked.>=means greater than or equal to.13is the boundary.- The result is
True.