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

23rd Sep 2019, 7:14 PM
B.G.PRADEEP KUMAR
B.G.PRADEEP KUMAR - avatar
1 Odpowiedź