aboutsummaryrefslogtreecommitdiffhomepage
path: root/ks/ifelse.ks
blob: 3aa47781cc4309bfac60d9726273291aa361affb (plain) (blame)
1
2
3
4
5
6
7
def fib(x)
  if x < 3 then
    1
  else
    fib(x-1)+fib(x-2);

fib(10);