>>> [0xfor x in (1,2,3)]
[15]
>>> [0xf or x in (1,2,3)]
[15]
>>> [0xfand x in (1,2,3)]
SyntaxError: invalid syntax
>>> [0xf and x in (1,2,3)]
NameError: name 'x' is not defined
bug吧
【 在 eGust 的大作中提到: 】
: 结果是
: [15]
:
https://twitter.com/nedbat/status/1382027078816653319--
FROM 113.108.77.*