나의 풀이
def solution(x, n):
answer = []
for i in range(n):
answer.append(x*(i+1))
return answer
CODE REVIEW
- 간단한 구현 문제. range만 잘 따져주면 된다.
def solution(x, n):
answer = []
for i in range(n):
answer.append(x*(i+1))
return answer