首页
Java
登录
6mi
u
盘
搜
搜 索
Java
python 连续不等式语法糖
python 连续不等式语法糖
xiaoxiao
2021-02-28
118
通常在多个不等式的时候,需要分着写,比如
x =
1
if
x>
0
and
x<
3
:
print
(
True
)
但是在Python中居然可以连着一起写,
x =
1
if
0
<x<
3
:
print
(
True
)
转载请注明原文地址: https://www.6miu.com/read-69134.html
技术
最新回复
(
0
)