Created
January 25, 2022 19:14
-
-
Save prav-raghu/b7d3f93d4b91d3ad74e83b083b79f896 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
def square(n): | |
squares = [k*k for k in range(1, n)] | |
return squares | |
print(square(100)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment