20th Jan 2018, 9:41 PM
NIMA
NIMA - avatar
3 odpowiedzi
+ 1
Thought about it. What's about: words = ["hello", "world", "spam", "eggs"] for counter in words: print (counter + "!")
20th Jan 2018, 9:56 PM
Sebastian Keßler
Sebastian Keßler - avatar
0
There is just one sign missing: counter == 3: But what do you want the code to do?
20th Jan 2018, 9:49 PM
Sebastian Keßler
Sebastian Keßler - avatar
0
I want to receive this output from the code: hello! world! spam! eggs!
20th Jan 2018, 10:17 PM
NIMA
NIMA - avatar