cubes_by_four=[x**3,for x in range(1,11) if (x**3)%4==0]

print cubes_by_four

# 6/15 what is wrong?

this line

```
cubes_by_four=[x**3,for x in range(1,11) if (x**3)%4==0]
```

should be

```
cubes_by_four=[x**3 for x in range(1,11) if (x**3)%4==0]# no comma before the for
```

```
cubes_by_four = [x**3 for x in range(1, 11) if x**3 % 4 == 0]
print cubes_by_four
```

ERROR

cubes_by_four = [c**3 in range(1,11) if (c**3)%4 == 0]

print cubes_by_four

File â€śpythonâ€ť, line 1

cubes_by_four = [c**3 in range(1,11) if (c**3)%4 == 0]

^

SyntaxError: invalid syntax

???

Your code should rather be this

```
cubes_by_four = [c**3 for c in range(1,11) if (c**3)%4 == 0]
# ^<->^
# missing that
# for statement
# with c as the iterator
```

I did the way I use to work out the cube numbers back in school. it worked though:

```
cubes_by_four = [x*x*x for x in range(1,11) if (x*x*x) % 4 == 0]
print cubes_by_four
```

I just curiousâ€¦ the instruction said `1 through 10 only`

, but here we wrote like this `range(1,11)`

rather than `range(1,10)`

â€¦any one can explain ?

textrunner:

Python counts like this:

range(starting-number, number-it-doesnâ€™t-count)