⬅︎ Back to An effective and immutable way to turn two Python lists into one
I'd say "To prove that it's new:"! Btw: when mutating the list with `combined.insert(0, 100)` I get `[100, 123, 503, 1001, 45, 812, *332*]`And isn't it "if you *want* to filter out duplicates", right?Some good pieces! 👍
I updated the sample to reflect that bug. See comment from Phil below. Thank you you too for noticing!Also, I corrected the typo with "want" on the topic of filtering out duplicates.
Comment
I'd say "To prove that it's new:"! Btw: when mutating the list with `combined.insert(0, 100)` I get `[100, 123, 503, 1001, 45, 812, *332*]`
And isn't it "if you *want* to filter out duplicates", right?
Some good pieces! 👍
Replies
I updated the sample to reflect that bug. See comment from Phil below. Thank you you too for noticing!
Also, I corrected the typo with "want" on the topic of filtering out duplicates.