Closed ji-0630 closed 1 year ago
def solution(my_string): answer = [int(i) for i in my_string if i.isdigit()] return sum(answer)
def solution(my_string): return sum(int(i) for i in my_string if i.isdigit())
문제 설명