📌  相关文章
📜  python 字符串包含子字符串忽略大小写 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:51.146000             🧑  作者: Mango

代码示例1
string1 = "hi"
string2 = "HI"
if string1.lower() == string2.lower():
    print "Equals!"
else:
    print "Different!"