[Python] 프로그래머스 - Level1 - x만큼 간격이 있는 n개의 숫자

강주형·2022년 8월 14일
0

https://school.programmers.co.kr/learn/courses/30/lessons/12954

연습문제

def solution(x, n):
    return [x * (i+1) for i in range(n)]
profile
Statistics & Data Science

0개의 댓글