I have created a list from a file by using .Split() method, now I want to loop over this list to get certain strings from it to another empty list. when I use .append() meth