在Python中,描述大于和小于的关系使用的是`>`和`<`这两个比较运算符。
`>` 表示大于
`<` 表示小于
例如:
```python
x = 5
y = 3
if x > y:
print("x is greater than y")
if x < y:
print("x is less than y")
输出将会是:
```
x is greater than y
x is greater than y
这是因为`x`的值是5,`y`的值是3,5大于3,所以第一个`if`语句的条件成立,输出“x is greater than y”。由于`x`也大于`y`,第二个`if`语句的条件同样成立,输出“x is greater than y”。