收起
def cal(n): if n==0: return 1 else: return n*cal(n-1) for i in range(1,6): print(str(i)+"! =",end=" ") print(cal(i))
报告相同问题?