Skip to content

Instantly share code, notes, and snippets.

@MahraibFatima
Created March 19, 2024 16:03
Show Gist options
  • Save MahraibFatima/bcdd90244c24b8cfc76a0967a4026d9d to your computer and use it in GitHub Desktop.
Save MahraibFatima/bcdd90244c24b8cfc76a0967a4026d9d to your computer and use it in GitHub Desktop.
List containing the cubes of numbers from 0 to 9.
cubes = [i ** 3 for i in range(10)]
print("Cubes:", cubes)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment