上QQ阅读APP看书,第一时间看更新
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).