判断题

运行如下程序,输出的结果是4。( )

def fun(n):
    if n == 1:
        return 1
    else:
        fun(n-1) * 2
print(fun(3))
A 正确
B 错误
赣ICP备20007335号-2