Skip to content
CodeWiki
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
Search
⌘K
English
English
Chinese
Practice
Paths
Tracks
Cheatsheets
Playground
Glossary
AI era
English
English
Chinese
Practice
/
Quiz
/
Python
/
lru_cache function caching
Which statement about lru_cache keys is correct?
from lru_cache function caching
Python 3.14
intermediate
1 min
Which statement about lru_cache keys is correct?
The wrapper always normalizes f(1) and f(value=1) into one entry.
All direct positional and keyword arguments must be hashable.
typed=True recursively inspects the type of every container element.
Changing a default value automatically invalidates existing entries.
Check
Ask AI about this kata
Report an error
next kata
How many times does this program print compute?
Predict the output
A new version is available
Reload