Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 604 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 604 Bytes

Secret santa attributions

Make random attributions of people for a secret santa-style gift exchange. Results will always be a loop (fully connected graph) and no similar attribution will be made twice in successive runs.

Run

Create your people.csv file (see people.csv.example), then run:

python tirage.py

Attributions are stored in tuples.csv and similar ones will not be made in subsequent runs.

Example run

python tirage.py

Elsa -> Doug
Doug -> Casey
Casey -> Zahid
Zahid -> Evan
Evan -> Paige
Paige -> Izzie
Izzie -> Sam
Sam -> Julia
Julia -> Gretchen
Gretchen -> Elsa