9
pamdemonia
5 15
429/ 445
Last seen 7 years ago
Member for 10 years, 11 months, 23 days
Difficulty Normal
Best reviews / Newest reviews
First-greatdragone75 1 1
just fyi, you can iterate over sets, you just can't subscript them like you can lists. More
First-Clawfang
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
First-Evgeny_Kuizhev
Remember splt takes an optional argument saying what to split on like so: def change(x); return set(x.split(",") More
By ine exeption-Agniy
oh yeah, we also can 'try/except' thanks for the reminder! More
First-pamdemonia
as the author, this code is clunky! but it does work More
Stack-JohnOZ
isn't using the pop method kinda cheating? thanks for reminding me that a non-empty list == True! More
Second-asad
nice use of re module, didn't even think of that! plus the tricky list comp. More
First-jcg
Nice one-liner! Forgot about bit-shifts personally. Thanks for the reminder. More
Second-c555 1
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