Created
March 12, 2024 00:09
-
-
Save belovachap/6e7a97e725d7d93b6c5729637ab3c8d5 to your computer and use it in GitHub Desktop.
Still taking entrants! :)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import datetime | |
import pytz | |
import random | |
central_tz = pytz.timezone('America/Chicago') | |
raffle_datetime = datetime.datetime(2024, 2, 13, 18, 0, 0, 0, central_tz) | |
random.seed(raffle_datetime.timestamp()) | |
marble_blue_prodigy = [ | |
"Michael Moeller", | |
"Timmy Ewing", | |
"Chase Sullivan", | |
"Jakob Brown", | |
"Ricky Wilson", | |
"Joseph Gonyer", | |
] | |
waco_bull_prodigy = [ | |
"Ashlee Bollier", | |
"Michael Moeller", | |
"Timmy Ewing", | |
"Lori Sosa", | |
"Chase Sullivan", | |
"Jakob Brown", | |
"Joseph Gonyer", | |
"Troy Wright", | |
"Randall Weidner", | |
"Joshua Boersma", | |
"Christian Espina", | |
"Travis Reaves", | |
] | |
st_patricks_penny_putter = [ | |
"Jennifer Watson", | |
"Timmy Ewing", | |
"Lori Sosa", | |
"Chase Sullivan", | |
"Nick Montijo", | |
"Jakob Brown", | |
] | |
def pick_and_print_winners(entrants): | |
random.shuffle(entrants) | |
for i, person in enumerate(entrants): | |
print("{}: {}".format(i, person)) | |
print("Ordered list of winners for the Marbled Blue Prodigy Disc:") | |
pick_and_print_winners(marble_blue_prodigy) | |
print("") | |
print("Ordered list of winners for the Waco Bull Prodigy Disc:") | |
pick_and_print_winners(waco_bull_prodigy) | |
print("") | |
print("Ordered list of winners for the Saint Patrick's Penny Putter:") | |
pick_and_print_winners(st_patricks_penny_putter) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment