+ 1
Hello can someone explain me the process of this
def proc(n): if n < 1: return 1 else: return proc(n/2) + proc(n-1) # proc(3) or proc(4) etc thank you
1 Resposta
0
hehe got it anyway
def proc(n): if n < 1: return 1 else: return proc(n/2) + proc(n-1) # proc(3) or proc(4) etc thank you