如何在Python字符串列表中查找出指定字符所在字符串

如题所述

for each in string_list:
    if ch in each:
        print each

温馨提示:答案为网友推荐,仅供参考
相似回答