开发者社区 问答 正文

Python的operator. contains(a, b)的作用是什么?

Python的operator. contains(a, b)的作用是什么?

展开
收起
游客ydhxr2xydmgpo 2021-11-06 11:55:50 428 分享 版权
1 条回答
写回答
取消 提交回答
  • 返回测试b in a的结果。请注意反转操作数。

    2021-11-06 11:56:28
    赞同 展开评论
问答分类:
问答地址: