pythonpython检查序列seq 是否含有aset 中的项 python检查序列seq 是否含有aset 中的项# -*- coding: utf-8 -*-def containsAny(seq, aset): """ 检查序列seq 是否含有aset 中的项 """ for c in seq: if c in ……继续阅读 » 水墨上仙 9年前 (2018-01-20) 4288浏览 2219个赞