how to check if 2 variables are the same in 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):