|
| 1 | +import random |
| 2 | +import numpy as np |
| 3 | + |
| 4 | +# This time I didn't specify to indicate where you are located and if you had |
| 5 | +# the means to ship abroad. Silly oversight on my part, but that's life. |
| 6 | +# This means I'll do the drawing and email everyone first. If someone overseas |
| 7 | +# wins the GPU but can't get it shipped, then I'll subtract their name and draw |
| 8 | +# again. |
| 9 | + |
| 10 | +all_entrants = ['xiaoyu', 'sunil', 'kelvin', 'jacob', 'sean', 'dilith', |
| 11 | + 'noctildon', 'lukas_k', 'alex', 'matt_t', 'inosiro', |
| 12 | + 'f1datadiver', 'sambaran', 'dean_v_a', 'balaji', 'aditya', |
| 13 | + 'brian_cu', 'sim', 'philip', 'antonio', 'roumen', 'marc', |
| 14 | + 'william_p', 'michael_f', 'behnood', 'lucas_p', 'ahmed_k', |
| 15 | + 'jamal_c', 'luciano_d', 'amir-ul', 'kinal', 'sidhanath', |
| 16 | + 'lorenzo', 'michael_w', 'ravi_j', 'brigliano', 'hrovje', |
| 17 | + 'daniel_b', 'terry_w', 'jun', 'kurt_b', 'hauke', 'super_dave', |
| 18 | + 'george', 'lukas_d', 'waleed', 'clark', 'frak', 'ravi_c', |
| 19 | + 'sawaiz', 'ferran', 'jack-ziad', 'christian_g', 'zxavier', |
| 20 | + 'daniel_k', 'akash', 'jbene', 'hause', 'jack', 'cristiano', |
| 21 | + 'nguyen_q_d', 'tatonata', 'dennis_f', 'till_z', 'dusan', |
| 22 | + 'abdennacer', 'antonio_p', 'dilan', 'adam_b', 'brian_co', |
| 23 | + 'k_ali', 'matt_r', 'navoda', 'doyun', 'william_s', 'jed_j', |
| 24 | + 'bijay', 'bruno', 'shivam', 'arjun_h', 'emil', 'abdulla_m', |
| 25 | + 'nick', 'joyce_w', 'abhinav', 'alex_v', 'ruturaj_s'] |
| 26 | + |
| 27 | +random.seed(2022) |
| 28 | + |
| 29 | +gpu_winner = random.choice(all_entrants) |
| 30 | + |
| 31 | +all_entrants.remove(gpu_winner) |
| 32 | + |
| 33 | +nnai_winner = random.choice(all_entrants) |
| 34 | + |
| 35 | +all_entrants.remove(nnai_winner) |
| 36 | + |
| 37 | +dli_winners = [random.choice(all_entrants) for _ in range(5)] |
| 38 | + |
| 39 | +# Make sure there are no duplicate names, so there is no ambiguity in who won |
| 40 | +assert len(np.unique(all_entrants)) == len(all_entrants) |
| 41 | + |
| 42 | +print('GPU Winner:', gpu_winner) |
| 43 | + |
| 44 | +print('NeuralNet.ai Subscription Winner:', nnai_winner) |
| 45 | + |
| 46 | +print('Deep Learning Institute winners:', dli_winners) |
0 commit comments