将数学式2<x≤10表示成正确的Python表达式,为 2<x≤10,在哪个版本中算对的 ?

(我知道x &gt; 2 and x &lt;= 10 是对的)
2025-02-14 07:21:34
推荐回答(1个)
回答1:

在哪个版本都是错的,python就没有这种写法