Last active
September 19, 2022 12:45
-
-
Save cibofdevs/d829da0d25417f7d9fefea526a53e627 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"] | |
# Write your code here. | |
for i in range(len(str_list)): | |
print(len(str_list[i])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment