当我编译下面的Python代码时,我得到
IndentationError:不缩进不匹配任何外部缩进级别
import sys
def Factorial(n): # Return factorial
result = 1
for i in range (1,n):
result = result * i
print "factorial is ",result
return result为什么?
https://stackoverflow.com/questions/492387
复制相似问题