PYTHON. I can help!


I con not move on in that exercise: "practice leads to perfection"

my code:

def cube (number):
    number = 3
    return number*number*number
def by_three (number):
    if number % 3 == 0:
      print "number divisível por 3"
        print "não é"


If I do cube(5) then I expect to get 125 back, not 27.
And perhaps your by_three should return some value? What do the instructions say?