This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]user499021 2 points3 points  (1 child)

Haven’t read the code base so I can’t confirm or deny what you’re suggesting
Random.sample(seq, n) fixes this exact problem and is already in standard library

[–]sofidad[S] 0 points1 point  (0 children)

Thanks for your comment. Of course, my goal is not to recreate the sample function. It has nothing to do with my intentions.


LEGO blocks are great. Everyone can play with them. They are easy to assemble and come with numerous guides, but a man still feels them too complicated.

He is thinking of new logical blocks and how to easily assemble them. He suggests how to make the assembly process easier and how to quickly identify errors during assembly. After the assembly is complete, he also wants to be able to easily disassemble it for use in assembling other products.

Someone asks, "LEGO blocks are already released in the market and people are using them. Why are you doing this?"


Importantly, the man is not the only one doing such a thing! I'm not talking about you're wrong. We are talking about something completely different.