Skip to content

Instantly share code, notes, and snippets.

@computer-tutor
Created April 25, 2020 11:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save computer-tutor/b9f747d6eda1f3362fdeb88739126d40 to your computer and use it in GitHub Desktop.
Save computer-tutor/b9f747d6eda1f3362fdeb88739126d40 to your computer and use it in GitHub Desktop.
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