mycode 42.30%,
Note: If the symbol is not considered, -1//3=-1 instead of 0, because it is rounded down
class Solution(object):
def evalRPN(self, tokens):
“””
:type tokens: List[s
mycode 42.30%,
Note: If the symbol is not considered, -1//3=-1 instead of 0, because it is rounded down
class Solution(object):
def evalRPN(self, tokens):
“””
:type tokens: List[s
I have a function that evaluates multiple (7 in my case) Boolean variables and conditions, if only one of them is true, the result is true (of course the rest are false ). I have the following code