diff options
Diffstat (limited to 'progs/a941.py')
-rw-r--r-- | progs/a941.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/a941.py b/progs/a941.py new file mode 100644 index 0000000..5e4799d --- /dev/null +++ b/progs/a941.py @@ -0,0 +1,3 @@ +def interleave_lists(list1,list2,list3):
+ result = [el for pair in zip(list1, list2, list3) for el in pair]
+ return result
\ No newline at end of file |