What is wrong with result?


cubes_by_four = [cub for cub in range(1,10) if cub**3%4==0]
print cubes_by_four

submit the code this what im getting

Oops, try again.
Looks like cubes_by_four is the wrong length. It should have 5 values.


Do you agree or disagree with the error? If you count the length, how many values do you see?
How would you affect the length?
Are you using the right range?
Are you using the condition?

As for "what is wrong", that's for you to find out. You have to identify the problem before you can begin solving it.


check out your range