Add files via upload

This commit is contained in:
Peter Norvig 2024-12-16 23:13:44 -08:00 committed by GitHub
parent 907d62c912
commit 0f16deb1a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 565 additions and 315 deletions

File diff suppressed because it is too large Load Diff

View File

@ -335,9 +335,9 @@
" \"\"\"`map`, with the result as a list.\"\"\"\n",
" return list(map(function, *sequences))\n",
"\n",
"def cat(things: Collection) -> str:\n",
"def cat(things: Collection, sep='') -> str:\n",
" \"\"\"Concatenate the things.\"\"\"\n",
" return ''.join(map(str, things))\n",
" return sep.join(map(str, things))\n",
" \n",
"cache = functools.lru_cache(None)\n",
"Ø = frozenset() # empty set"