Closed ji-0630 closed 1 year ago
def solution(array):
array = ''.join(map(lambda x: str(x), array))
answer = 0
for i in array:
if i == "7":
answer +=1
return answer
def solution(array):
return str(array).count('7')
def solution(array):
return ''.join(map(str, array)).count('7')
문제 설명