Created
March 19, 2024 16:03
-
-
Save MahraibFatima/bcdd90244c24b8cfc76a0967a4026d9d to your computer and use it in GitHub Desktop.
List containing the cubes of numbers from 0 to 9.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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