python two string equal
player_one_score = "100"
player_two_score = "100"
if player_one_score is player_two_score:
print("Player #1 and #2 have the same number of points.")
else:
print("Player #1 and #2 do not have the same number of points.")
python two string equal
player_one_score = "100"
player_two_score = "100"
if player_one_score is player_two_score:
print("Player #1 and #2 have the same number of points.")
else:
print("Player #1 and #2 do not have the same number of points.")
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")
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us