We learned how to creat and store values, but how do we compare them?
Like checking if a user's password matches their saved one.
To compare if two numbers are the same, we use the equality operator, ==
.
When comparing, there are only two results: True
or False
.
>>> 1 == 1
True