def clownCarCount(n): if n<0: raise Exception("negative clowns will haunt your dreams forever") elif n<2: return n else: return clownCarCount(n-1)+clownCarCount(n-2)
-
-
-
In python no less
- 1 more reply
New conversation -
-
-
Tired: a clown car that crashed into a gold mine. Wired: a clown car that crashed into two clown cars that crashed into four clown cars that crashed into-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.