Hello. I want to compare a global variable with 5 different numbers. So I want to make that if the global variable is equal to any of those numbers (77, 45, 8, 7 or 2) an action is executed. What is the simplest way to do it?
Pd: I know that I can do it individually but, can you compare a variable with different numbers in a single code line since I want to continue adding numbers as if it were a list so as not to do them individually?