- iOS 12 Programming for Beginners
- Craig Clayton
- 54字
- 2025-02-28 11:21:49
Comparison operators
We can also compare different numerical variables. These might be familiar to you from math class. Let's enter these in to Playgrounds:

As you can see in the Results panel, these comparison entries result in true or false based on the values that you enter (here, these are 1 and 2).