Answers for "python check if two strings have a same character"

2

how to check if all characters in string are same python

s == len(s) * s[0]
Posted by: Guest on May-14-2020
0

How to check if two strings are same in Python

# Program to check the email and re-enterd email is same or different
email= "[email protected]"
confirmemail="[email protected]"

if(email.lower() == confirmemail.lower()):
    print("Email Address are same")
else:
    print("Email Address are not same")
Posted by: Guest on November-29-2021

Code answers related to "python check if two strings have a same character"

Python Answers by Framework

Browse Popular Code Answers by Language