Aug-24-2017, 01:59 AM
To get two random days use random.sample, to get one random name use random.choice:
import random print(random.choice(['John', 'Mary', 'Jake', "Bob"]) print(random.sample(['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri, 'Sat'], 2))
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