Skip to content

Instantly share code, notes, and snippets.

@IndhumathyChelliah
Created Jul 21, 2020
Embed
What would you like to do?
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