def cube(number):
    number = number ** 3
    print "Cube for this number is %d" %number
    return number
def by_three(number):
    if number/3 == 0:
        new_number = number/3
        return cube(number)
        print "Result of the number %d" %new_number
        return False

My code is not entering into the second function. Kindly help


Which particular exercise is this?

Well, it is not entering the second function, because there is no call to the second function anywhere


Thanks man..!!! Yeah the problem was, I am using division function instead of Mod. And the second one is I was not calling the second function. Got it.


How about calling the function? :slightly_smiling:

by_three(12) (just an example)


Yes it worked, Thanks