News for hackers. Stuff that matters.
Re:Verifiable random choice (contest winner) algorithm by tylfin on Thursday January 07, 2016 @02:32PM (#10860131)
One way: write a simple python script, ```import random phone_numbers = [] with open('list_of_phone_numbers.txt', 'r+') as file: for phone_number in file: phone_numbers.append(phone_number)

random_pick = random.randint(0, len(phone_numbers)-1) print phone_numbers[random_pick]```

There are no comments on this comment yet.