9 lines
166 B
Python
9 lines
166 B
Python
def isDivBy(num, denom):
|
|
return num % denom == 0
|
|
|
|
def fib(i):
|
|
if i == 1:
|
|
return 1
|
|
elif i == 2:
|
|
return 2
|
|
return fib(i - 1) + fib(i - 2) |