Python Random Tutorial

num = random.randint(startnum,endnum)

choice = random.choice(listname)


listname.shuffle()