+ 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

20th Jul 2020, 12:49 AM
Raymart
1 Odpowiedź
0
hehe got it anyway
20th Jul 2020, 12:52 AM
Raymart