Py学习  »  Rohit-Pandey  »  全部回复
回复总数  1
8 年前
回复了 Rohit-Pandey 创建的主题 » 比较两个矢量python[duplicate]

试试这个:

 set(a) == set(b)

因为 set 自动排序。