|
|
|
|
|
by ttttannebaum
5295 days ago
|
|
In fact: max(wordlist, key=(lambda w: intersect(w, charlist)) should replace a good portion of the create_mnemonic function. But now I'm just showing off. Just letting you know that Python is much cooler than you know. Haskell, however, could probably do this in a few lines. |
|