python判断一个字符是不是在一个字符串中关键字in ,not in

来源:互联网 发布:知乎什么叫禁欲脸女生 编辑:程序博客网 时间:2024/05/22 00:35
#_*_ coding:utf-8 _*_import stringprint "ab" in string.lowercase#output trueprint "ab" not in "defds"#output true

0 0
原创粉丝点击