# if 判断

## 基本使用 ¶

if condition:
expressions


## 实例 ¶

x = 1
y = 2
z = 3
if x < y:
print('x is less than y')


if x < y < z:
print('x is less than y, and y is less than z')


## 注意点 ¶

x = 1
y = 2
z = 3
if x = y:
print('x is equal to y')


x = 2
y = 2
z = 0
if x == y:
print('x is equal to y')