Codewars note :Count by X

My Codewars


Exercise:

 

Solution:

def count_by(x, n):
    return list(range(x, x * n +1, x))

 

posted @ 2022-06-30 17:26  大序列  阅读(20)  评论(0编辑  收藏  举报