- iOS 12 Programming for Beginners
- Craig Clayton
- 54字
- 2021-07-02 15:04:54
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).