Practice makes perfect


#1



practice makes perfect


Oops, try again. Your code looks a bit off. Check the console window for errors!


Replace this line with your code. 
def cube(number):  
  return number**3
def by_three(number):
    if number % 3 ==0:
    return cube(number)
    else:   
        return false


#2

don't worry I figured it out, but how would i use this when coding something?


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.