summaryrefslogtreecommitdiff
path: root/progs/a628.py
blob: 69f1961172c352a81de596c2781355867f80c892 (plain)
1
2
def list_split(S, step):
    return [S[i::step] for i in range(step)]