Facebook
From p9988, 1 Year ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 95
  1. def f(n):
  2.     if n <= 0:
  3.         return 0
  4.     return n+f(int(n/2))
  5.    
  6.    
  7.    
  8.     value f(4)???