12 Wed

X만큼 간격이 있는 n개의 숫자

'''
https://programmers.co.kr/learn/courses/30/lessons/12954
x만큼 간격이 있는 n개의 숫자
0. x의 배수를 n개만큼 출력
'''
def solution(x, n):
    return [i*x for i in range(1, n+1)]
'''
'''

Last updated

Was this helpful?