a = ["客户信息管理","信息服务系统","新一代系统","核心化系统"] b = ["核心化系统","新一代系统","信息服务系统"] for i in a: if i not in b: a.remove(i) print(a)