Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

How to check if two strings are same in Python

# 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")
Source by itsmycode.com #
 
PREVIOUS NEXT
Tagged: #How #check #strings #Python
ADD COMMENT
Topic
Name
2+4 =