Little explorations with HP calculators (no Prime)
|
12-28-2018, 03:41 PM
(This post was last modified: 12-28-2018 05:56 PM by Albert Chan.)
Post: #329
|
|||
|
|||
RE: Little explorations with HP calculators (no Prime)
Hi DavidM
Yes, using random.shuffle may be overkill. With only 2 kinds of balls, random.sample may be faster. Code: def main(n): |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 11 Guest(s)