TypeError: ufunc 'bitwise_and' n
2019-07-05 本文已影响0人
Hid_5021
TypeError: ufunc 'bitwise_and' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
python程序提示如上错误,原因是在if语句中&连接符前后的两个条件需要用括号括起来哦,要不然&不知道是连接谁的啦,所以会报错哒
,