1. 문제
https://programmers.co.kr/learn/courses/30/lessons/76501
2. 풀이
2.1. 정답 풀이
def solution(absolutes, signs):
return sum([ x if y else -x for x, y in zip(absolutes, signs)])
https://programmers.co.kr/learn/courses/30/lessons/76501
def solution(absolutes, signs):
return sum([ x if y else -x for x, y in zip(absolutes, signs)])