9
Last seen 7 years ago
Member for 10 years, 11 months, 23 days
Difficulty Normal
just fyi, you can iterate over sets, you just can't subscript them like you can lists.
More
remember that if you make sets out of first and second instead of lists, you can use intersection to find the common words, thus saving several lines of code!
More
Remember splt takes an optional argument saying what to split on like so:
def change(x);
return set(x.split(",")
More
isn't using the pop method kinda cheating?
thanks for reminding me that a non-empty list == True!
More
okay, so your return statement completely baffles me for some reason. Any insight you could give me as to how it works would be lovely.
More