-
-
Save amankharwal/af552afddf61fc11cfadf4cb96cc111b 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
names = ["Aman", "Akanksha", "John Cena"] | |
length = list(map(len, names)) | |
index = 0 | |
for i in names: | |
print(names[index], length[index]) | |
index = index + 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment