diff options
Diffstat (limited to 'progs/a628.py')
-rw-r--r-- | progs/a628.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/progs/a628.py b/progs/a628.py new file mode 100644 index 0000000..69f1961 --- /dev/null +++ b/progs/a628.py @@ -0,0 +1,2 @@ +def list_split(S, step):
+ return [S[i::step] for i in range(step)]
\ No newline at end of file |