diff options
| author | Mirek Kratochvil <exa.exa@gmail.com> | 2026-11-20 09:13:31 +0100 |
|---|---|---|
| committer | Mirek Kratochvil <exa.exa@gmail.com> | 2026-11-20 09:13:31 +0100 |
| commit | 9680e967dd687f42776edc639ac1fa483dec3260 (patch) | |
| tree | 71da859a39f3f1a1273cfb38a132dbb5a8fe97ea | |
| parent | f5b9ce8a7bb2d8f81cd802925e1e3d1dcb36bb7a (diff) | |
| download | ls47-9680e967dd687f42776edc639ac1fa483dec3260.tar.gz ls47-9680e967dd687f42776edc639ac1fa483dec3260.tar.bz2 | |
improve a lil bit
| -rwxr-xr-x | ls47.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -11,9 +11,7 @@ import random import sys letters = "_ABCDEFGHIJKLMNOPQRSTUVWXYZ.,:?!'()0123456789+-*/" -tiles = list( - zip(letters, map(lambda x: ((7 - x // 7) % 7, (7 - x % 7) % 7), range(7 * 7))) -) +tiles = list( zip(letters, map(lambda x: ((48 - x) // 7, (49 - x) % 7), range(7 * 7)))) padding_size_min = 5 padding_size_max = 15 |
