DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python cache return value
from functools import cache @cache def factorial(n): return n * factorial(n-1) if n else 1
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#python
#cache
#return
ADD COMMENT
Topic
COMMENT
Name
9+9 =
Submit