취준시절/프로그래머스
[프로그래머스] x만큼 간격이 있는 n개의 숫자 - Python
MAYMIN
2021. 7. 9. 01:13
728x90
SMALL
def solution(x, n):
answer = []
for i in range(1, n + 1):
answer.append(x * i)
return answer
728x90
LIST