make sure you correct the code with TAB, would do it myself, but don't really know how to do it (post the code in a square like you guys).

# "Practice Makes Perfect"

**tagace99093**#10

number = 9

def cube(number):

return number*number*number

def by_three(number):

if number % 3 == 0:

return cube(number)

else:

return False

Why is this code not working .

**tagace99093**#12

File "python", line 3

return number*number*number

^

IndentationError: expected an indented block

**wizmarco**#13

Like the error says... **IndentationError: expected an indented block** so it should be like that

```
def cube(number):
return number*number*number
```

**tagace99093**#16

umber = 9

def cube(number):

return number*number*number

def by_three(number):

if number % 3 == 0:

return cube(number)

else:

return False

Error:

File "python", line 5

if number % 3 == 0:

^

IndentationError: expected an indented block

**tagace99093**#17

sorry

number = 9

def cube(number):

return number*number*number

def by_three(number):

if number % 3 == 0:

return cube(number)

else:

return False

**tagace99093**#18

number = 9

def cube(number):

return number*number*number

def by_three(number):

if number % 3 == 0:

return cube(number)

else:

return False

**tagace99093**#19

Actually return is not showing with spaces/indentation for some reason but there is space like you suggested.

**wizmarco**#23

you should also indent the **if statement** inside the function **by_three()** llike that

```
.......
def by_three(number):
if number % 3 == 0:
return cube(number)
else:
return False
```

**gleama1**#29

Thank you, wizmarco!

This passed. I saw other instructions people were giving but they were adding more than what was being asked in the instructions.