👉 A tri-state is a state in which all three of its components are present at the same time. For example, if you have two dice and one die has a 1 on it and another one has a 2 on it, then the tri-state would be that combination of dice. In terms of code, a tricostate is defined as a state where all three of its components are present at the same time. For example, if you have two dice and one die has a