Language/Python
[Python / 프로그래머스 level 1] x만큼 간격이 있는 n개의 숫자
ej503
2021. 6. 16. 10:32
def solution(x, n):
answer=[]
for i in range(1,n+1):
answer.append(x*i)
return answer