-
-
Save IndhumathyChelliah/e6318cfde7610e684f07f9c02f9b2762 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
d1={n:n*n for n in range(1,11)} | |
print (d1) #Output:{1: 1, 2: 4, 3: 9, 4: 16, 5: 25, 6: 36, 7: 49, 8: 64, 9: 81, 10: 100} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment