Created
July 7, 2017 05:00
-
-
Save knzm/10fb3b5e34e12f14ad4c8893ccf6d713 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://teratail.com/questions/83177 | |
>>> import string | |
>>> a = string.ascii_lowercase | |
>>> print("\n".join( | |
... [" ".join(line) | |
... for r in [range(i * 16, i * 16 + 16, 1) for i in range(int((len(a) + 15) / 16))] | |
... for line in [[a[j] for j in r if j < len(a) and (j % 4 < 2)], | |
... [a[j] for j in r if j < len(a) and (j % 4 >= 2)]]])) | |
a b e f i j m n | |
c d g h k l o p | |
q r u v y z | |
s t w x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment