diff options
Diffstat (limited to 'progs/a899.py')
-rw-r--r-- | progs/a899.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/a899.py b/progs/a899.py new file mode 100644 index 0000000..d6a633b --- /dev/null +++ b/progs/a899.py @@ -0,0 +1,2 @@ +def nth_items(list,n):
+ return list[::n]
\ No newline at end of file |