<doocs>2011.Final Value of Variable After Performing Operations_1.py
def finalValueAfterOperations( operations: List[str]) -> int:
    return sum(1 if s[1] == '+' else -1 for s in operations)
def sample_funcname ( var_0 : List [ str ] ) -> int :
    return sum ( 1 if var_6 [ 1 ] == '+' else - 1 for var_6 in var_0 )
