开发者社区 问答 正文

python中operator. __xor__(a, b)方法的作用是什么?

python中operator. xor(a, b)方法的作用是什么?

展开
收起
游客k7rjnht6hbtk6 2021-11-15 21:06:02 306 分享 版权
1 条回答
写回答
取消 提交回答
  • a与b按位异或,并返回结果。

    2021-11-16 16:28:41
    赞同 展开评论