🌈 搜索
📅  最后修改于: 2022-03-11 14:45:52.722000             🧑  作者: Mango
from functools import cache @cache def factorial(n): return n * factorial(n-1) if n else 1