Add files via upload

This commit is contained in:
Peter Norvig authored and GitHub committed 2024-12-16 23:13:44 -08:00
1 parent 907d62c912
commit 0f16deb1a9
2 files changed
+565 -315

No files matched your search

+563 -313
View File
File diff suppressed because it is too large. Load diff
+2 -2
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"