python for in list of strings