>>> all=[""]>>> i="One">>> l=(item for item in all if item in i)>>> print(len(list(l)))1>>> print(len(list(l)))0>>>第一次打印答案是1,没有任何修改第二次是0 查看完整描述