尾递归实现循环

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

raw_input() 字符而非数字

unsupported operand type(s) for /: 'str' and 'int'

相关文章: