check if a variable is the same as a other 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):