0
Why all list is printed how it’s iterating
words = ["hello", "world", "spam", "eggs"] for words in words: print(words + "!") Output: hello! World! spam! eggs! how loop is iterated
1 Réponse
words = ["hello", "world", "spam", "eggs"] for words in words: print(words + "!") Output: hello! World! spam! eggs! how loop is iterated