Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
random question
#3
(Jul-22-2020, 07:31 AM)buran Wrote: Look at https://stackoverflow.com/questions/4265...stribution

In your case I think using random.choices is the optimal solution

OK, this answers the question.
Thanks
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Reply


Messages In This Thread
random question - by DPaul - Jul-22-2020, 07:02 AM
RE: random question - by buran - Jul-22-2020, 07:31 AM
RE: random question - by DPaul - Jul-22-2020, 07:40 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Question about the Random Module Exsul 1 2,013 Mar-13-2019, 02:06 AM
Last Post: ichabod801
  Newbie question: random Truman 8 4,929 Dec-19-2017, 09:27 PM
Last Post: Truman

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020