PYTHON. I can help!


#1

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"
    else:
        print "não é"

#2

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?