3 ms·
> In real life, if I ask someone to go get me four empty buckets, I expect them to come back with four distinct empty buckets. That's not what you're asking fo
by kerkeslager 3y ago
> In real life, if I ask someone to go get me four empty buckets, I expect them to come back with four distinct empty buckets.
That's not what you're asking for, though. You're asking for one bucket, and then you're putting it in another bucket, and then you're duplicating the contents of the second bucket four times.
This isn't whitewashing, this is just what those expressions mean.
It's not like it's hard to get four buckets in Python, BTW:
[[] for _ in range(4)]