Atom

Comparison operators

A comparison produces a boolean. Use comparisons to check ordering or equality before deciding what to do next.

Check a score against a target

Use >= for at least, and == for equality.

Atom
score = 10
print(score >= 8)
print(score == 8)
Output
true
false

Ten is at least eight, but the two numbers are different.