© 1999-2048 dssz.net 粤ICP备11031372号
[其它] Py-tricks.py-源码
说明:y俩 :snake: 担 # Different ways to test multiple # flags at once in Python x , y , z = 0 , 1 , 0 if x == 1 or y == 1 or z == 1 : print ( "passed_1" ) # passed_1 if 1 in ( x , y , z ): print ( "passed_2" ) # passed_2 # These only test for tru<weixin_42116681> 上传 | 大小:9kb