Answers for "python if with equal strings"

2

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.")
Posted by: Guest on September-16-2021

Code answers related to "python if with equal strings"

Python Answers by Framework

Browse Popular Code Answers by Language