Created
March 1, 2022 04:03
-
-
Save alikarimi120/516518c2c830499f9045990d3dd7ddd0 to your computer and use it in GitHub Desktop.
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
nums = [0, 1, 2, 3, 4] | |
squares = [x ** 2 for x in nums] | |
print(squares) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment