Got Ya!


#1

Continuing the discussion from 6/19 - how do i make it return if or else result?:

aha! this got it!

def cube(n):
return n * n * n

def by_three(n):
if n % 3 == 0:

    return cube(n)
else:

    return False