1551 Python # pairwise 연습하기 from itertools import pairwise N, K = map(int, input().split()) lst = list(map(int, input().split(','))) for _ in range(K): lst = [pair2-pair1 for pair1, pair2 in pairwise(lst)] print(*lst, sep=',')