Python递归题目【软件测试培训】【多测师_王sir】

def f(x):
    if x == 0 or x == 1:
        return x
    else:
        x = f(x-2)-f(x-1)
    return x

print f(6)
原文地址:https://www.cnblogs.com/xiaoshubass/p/13431422.html