0
words = ["hello", "world", "spam", "eggs"] for word in words: print(word + "!")
how the value of the variable word is incremented????
3 Answers
0
its simple..the for loop is running from first element to last element in the list and the variable taken was word..we can take any variablename and printed in every iterationđ
0
thanks
0
đanytime bro