If operator is equal to ' + ' , add value in sum variable else subtract
if ( operation == ' + ' ) : NEW_LINE INDENT sum += value NEW_LINE DEDENT else : NEW_LINE INDENT sum -= value NEW_LINE DEDENT return sum NEW_LINE