📌  相关文章
📜  如何在 Python 代码示例中检查两个字符串是否相同

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

代码示例1
# Program to check the email and re-enterd email is same or different
email= "info@itsmycode.com"
confirmemail="INFO@ITSMYCODE.COM"

if(email.lower() == confirmemail.lower()):
    print("Email Address are same")
else:
    print("Email Address are not same")