Cane we use split function in loops to add element in the list directly?


Please do not show code in a screenshot. There are people here who do not see screenshots, e.g. because they use the mail interface.

I do not understand what you want, but no, you cannot use split to add anything to a list:

>>> help([].split)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'list' object has no attribute 'split'

Here you can find the list methods, to add items there are append, extend and insert.