Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
|
|
@ -1,4 +1,5 @@
|
|||
>>> print ( '\n'.join(''.join(x) for x in zip('abc', 'ABC', '123')) )
|
||||
>>> print ( '\n'.join(''.join(x) for x in
|
||||
zip('abc', 'ABC', '123')) )
|
||||
aA1
|
||||
bB2
|
||||
cC3
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
>>> print ( '\n'.join(map(lambda *x: ''.join(x), 'abc', 'ABC', '123')) )
|
||||
>>> print ( '\n'.join(map(lambda *x:
|
||||
''.join(x), 'abc', 'ABC', '123')) )
|
||||
aA1
|
||||
bB2
|
||||
cC3
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
>>> from itertools import zip_longest
|
||||
>>> print ( '\n'.join(''.join(x) for x in zip_longest('abc', 'ABCD', '12345', fillvalue='#')) )
|
||||
>>> print ( '\n'.join(''.join(x) for x in zip_longest('abc',
|
||||
'ABCD', '12345', fillvalue='#')) )
|
||||
aA1
|
||||
bB2
|
||||
cC3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue