- i and j are just placeholder variables while iterating through a list i. e. while moving through the list one element at a time.
- We can use any alphabet for this, but i and j are used in almost every language and it's traditional to use them.
- You can even use a word instead of an alphabet to iterate:
for item in list1:
print(item)
Comments
0 comments
Article is closed for comments.