3 ms·
Yeah, neither assumption makes much sense. Seeding should be a separate func, and range random should take two args. Just for some reason seed is the first thin
by hot_gril 3y ago
Yeah, neither assumption makes much sense. Seeding should be a separate func, and range random should take two args. Just for some reason seed is the first thing that comes to mind.
But now I see this page has editable code and whatever language it's in does have random(x) taking one arg. So fair enough.
- antonvs 3y agoIt’s in Processing. Its random function can take one arg (the max) or two args (the range). So what you suggested would be possible.