summaryrefslogtreecommitdiff
path: root/progs/a899.py
blob: d6a633b9dfaba036e7b743375f936ee3c421bb76 (plain)
1
2
def nth_items(list,n):
 return list[::n]