check if a variable value is the same as another variable python code example
Example: python check if variables are the same
values = [x, y, z] # can contain any number of values
if all(v == 1 for v in values):
values = [x, y, z] # can contain any number of values
if all(v == 1 for v in values):