Created
December 19, 2020 09:10
-
-
Save Alexpeain/63a190f20c376e7194994e14c01184c4 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
#Write code that uses iteration to print out the length of each element of the list stored in str_list. | |
str_list = ["hello", "", "goodbye", "wonderful", "I love Python"] | |
for i in str_list : | |
print(len(i)) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment