B
Boom
Guest
To further explain, I want to create a tree of options that checks multiple variables. For example, it checks 3 boolean variables named, a, b, and c.
(true, true, true) would output a number
(true, true, false) would output another number
(true, false, true) would output another different number
(true, false, false) would output another different new number
etc...
Dictionaries, if statements, and switch statements are options but using those it would take exponentially more time to add another variable to check.
So is there an operation that streamlines this?
(true, true, true) would output a number
(true, true, false) would output another number
(true, false, true) would output another different number
(true, false, false) would output another different new number
etc...
Dictionaries, if statements, and switch statements are options but using those it would take exponentially more time to add another variable to check.
So is there an operation that streamlines this?