下列程序使用了哪种算法?( )
def fact(n): if n==0: return 1 else: return n*fact(n-1)
复制链接后可在微信、QQ、小红书等平台粘贴分享;答案与解析在题目页。