728x90
def solution(n, numlist):
return ([i for i in numlist if i % n ==0])
728x90
'CodingTest > [프로그래머스 LV.0]' 카테고리의 다른 글
프로그래머스 LV.0 - 암호 해독[Python] (0) | 2023.01.22 |
---|---|
프로그래머스 LV.0 - 대문자와 소문자[Python] (0) | 2023.01.22 |
프로그래머스 LV.0 - 세균 증식[Python] (0) | 2023.01.22 |
프로그래머스 LV.0 - 개미 군단[Python] (0) | 2023.01.22 |
프로그래머스 LV.0 - 모음 제거[Python] (0) | 2023.01.22 |