No variables equal to eachother
DanielAtherton (0)

Is there an efficient way to check if none of the four variables are the same as each other without using a lot of if statements. Trying to reduce cyclomatic complexity

You are viewing a single comment. View All
CodeLongAndPros (963)

none of the four variable


if not (foo, bar, spam, eggs) == (foo, bar, spam, eggs)