>>> [6,7,8,16,18] <= [6,8,11,13,17] True
<=如果True左集中的每个元素都在右集中,则应返回.但7,16,18不在正确的名单中.即使我把数字放在这样的集合中
<=
True
7,16,18
>>> (6,7,8,16,18) <= (6,8,11,13,17) True
https://docs.python.org/2/library/sets.html
python list set
list ×1
python ×1
set ×1