def solution(absolutes, signs):
return sum(absolute if sign else -absolute for absolute, sign in zip(absolutes, signs))
def solution(absolutes, signs):
return sum(absolute if sign else -absolute for absolute, sign in zip(absolutes, signs))
이전 포스트 MNIST with DNN Regularzation
다음 포스트 괄호 회전하기