I am reading through Learning Python and just finished the section on lists. While I was playing around to see what I can do with them, I came across something odd:
[2, 3] in [1, 2, 3, 4] == False
You can't test for subsets of lists using the in
keyword. Why is this the case?