0
Why this for loop doesn't work ?
3 odpowiedzi
+ 1
Thought about it. What's about:
words = ["hello", "world", "spam", "eggs"]
for counter in words:
print (counter + "!")
0
There is just one sign missing:
counter == 3:
But what do you want the code to do?
0
I want to receive this output from the code:
hello!
world!
spam!
eggs!