My first Python script β a fun random name picker with a hype countdown.
- Counts down from 10, printing a random hype message each second
- Randomly picks a winner from the participants list
- Announces the winner (with special shout-outs for certain names π)
python giveaway.py| File | Purpose |
|---|---|
giveaway.py |
Single consolidated entry point β countdown, picker, announcer |
Edit the constants at the top of giveaway.py:
NAMESβ list of participantsHYPE_MESSAGESβ messages shown during the countdownSPECIAL_SHOUTOUTSβ name β special message mapping
Python 3.10+ (uses list[str] type hints). No external dependencies.