python-两个数组元素一样,位置个数不相同,按照一个标准的列表实现另一个列表的排序

a = ["客户信息管理","信息服务系统","新一代系统","核心化系统"]

b = ["核心化系统","新一代系统","信息服务系统"]

for i in a:
    if i not in b:
        a.remove(i)
print(a)
原文地址:https://www.cnblogs.com/mqhpy/p/13626778.html