[프로그래머스] 없는 숫자 더하기Lv.1
def solution(numbers): return sum(0 if i in numbers else i for i in range(0, 10))
0부터 9까지 더한 45 - 리스트의 합 풀이도 있었다.👍