题目链接:
Python代码:
def reverse_factorial(num):
i = fatorial = 1
while fatorial <= num:
if fatorial == num:
return str(i) + '!'
else:
i += 1
fatorial *= i
return 'None'
#新手题,为了传播给很多刚学习程序的同学,或者是刚学习某种语言的同学
欢迎有资源的同学在评论区留下你们的文字,谢谢!