🌈 搜索
📅  最后修改于: 2022-03-11 14:46:37.682000             🧑  作者: Mango
list1 = [1, 'string', 2, 'string2'] for ele in list1: if(type(ele) == str): print(ele)