摘要: 一、in 与 not in python 中,in 与 not in 是用来作为逻辑判断的另一种方式。(与linux 的grep 命令有一定类似) 文字解释可以理解成这样。 in 右侧的内容里,是否包含了左侧的内容。 包含返回真,不包含返回假。 not in 右侧的内容里是否不包含左侧的内容。不包含 阅读全文
posted @ 2019-08-19 17:59 陈司 阅读(20624) 评论(0) 推荐(0) 编辑