Yes third you're right, apologies. (That's what happens when looking after kids at the same time.) But it's still not a subset as far as I can tell?
I found this (in coding...!)
I don't understand a single thing beyond the 6th set of brackets.
Difference between intersection and subset?*
*
I think your confusion stems from a lack of understanding the difference between a subset and the intersection of two sets. An intersection between two sets is all the elements the sets have in common. For example, let's say we have two sets, A = {1,2,3,4,5,6,7,8,9} and B = {1,3,5,7,9, 100}. The intersection of these two sets is 1,3,5,7,9. A subset is probably best defined using examples. An example of a subset of set A from above would be {1,2,3} or {1} or {3,7,9} or even {1,2,3,4,5,6,7,8,9}, but set B is NOT a subset of set A because B contains a number that's not in set A. So, the reason intersection works is because we're looking for keys in COURSES whose corresponding set in COURSES.values() has an element that is shared in the set arg. EX: if arg is {"booleans","coffee cup"} then we want our function to return ["Python basics","Java Basics", "PHP basics"] because the intersection between arg and COURSES.values() is {"booleans"}. Now if we had used the subset function, our function would have returned [] because arg is not a subset of any of the sets in COURSES because arg contains an element that is not in the sets in COURSES, namely "coffee cup". However, if arg is just {"booleans"}, then {"booleans"} is the intersection of the two sets and arg is also a subset of some of the sets in COURSES.
I hope that cleared things up a little.
https://teamtreehouse.com/community/difference-between-intersection-and-subset