I am making a basic calculator and trying to make this Python code work, it only prioritizes the final if or the first or: def get_values(): global value1, value2, opperation while opperation != ("+" or "-" or "*" or "/" or "//"): value1 = int(input("input value 1:")) opperation = str(input("the opperator +, -, *, / , or // aka no remainders:")) value2 = int(input("input value 2:")) print(opperation) Tried using many ors or ands with () in the if but it just won't work. Continue reading...