Oct-10-2018, 01:39 AM
It's simpler with random, since random comes with Python.
import random balls = '-'.join(map(str, random.sample(range(1, 43), 6)))
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures