0
Why there's explained that the "in" function is exlusively of sets?
I saw it also in lists.
2 Réponses
+ 2
'in' keyword is used generally for every iterable object, not only set and list. it can be a string, dictionary, range, generator, tuple, etc.
0
That might just be a mistake, it happens, but someone should report it if it is an absurdity.