3 ms·
So many times in Python when doing something related to a word game or puzzle I've written something like d = set(open("/usr/share/dict/words").read().split(
by schoen 2y ago
So many times in Python when doing something related to a word game or puzzle I've written something like
d = set(open("/usr/share/dict/words").read().split())
There's a lot of luxurious convenience hiding there!