0
what does the word iterate means in python?
I need complete idea of list iteration with argument. How is it used in mapping?
1 Réponse
+ 2
iterate is to go through the list.
ie. a string is a list of characters..
for s in "hello":
print s
iterates through all the characters in the string and prints out
h
e
l
l
o