strlist = ['a1', 'a2', 'b1'] if any("a" in s for s in strlist): 转载于:https://www.cnblogs.com/liangnote/p/4283446.html