The Python Oracle

How can I verify if one list is a subset of another?

Become part of the top 3% of the developers by applying to Toptal https://topt.al/25cXVn

--

Track title: CC G Dvoks String Quartet No 12 Ame 2

--

Chapters
00:00 Question
01:07 Accepted answer (Score 214)
02:24 Answer 2 (Score 230)
02:38 Answer 3 (Score 53)
03:09 Answer 4 (Score 30)
03:59 Thank you

--

Full question
https://stackoverflow.com/questions/1657...

Accepted answer links:
[set.issubset]: https://docs.python.org/3/library/stdtyp...
[set.issubset]: https://docs.python.org/3/library/stdtyp...
[hashable]: https://docs.python.org/3/glossary.html#...
[intersect a dict and list]: https://stackoverflow.com/questions/1657...

Answer 3 links:
[all()]: https://stackoverflow.com/questions/1938...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #list

#avk47