Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
cubes_by_four =[x**3 for x in range(1,11) if (x**3)%4==0]
for x in cubes_by_four:
print(x)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment