def fact(x):
if x == 1:
return 1
else:
return x * fact(x-1)

 

相关文章:

  • 2021-12-10
  • 2023-04-04
  • 2021-10-08
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-07
  • 2022-12-23
  • 2021-10-27
相关资源
相似解决方案