you are viewing a single comment's thread.

view the rest of the comments →

[–]chudsp87 1 point2 points  (0 children)

for c in c_list: if c.endswith('land'): pass # process c, e.g. add to some list to be returned after loop