You can use the random module in Python to randomly select a T-shirt size from a list of sizes. Here is an example function that you can use:
main.py118 chars6 linesThe get_random_tshirt_size function defines a list of T-shirt sizes and returns a random size from that list using random.choice. You can call this function whenever you need a random T-shirt size in your story.
Here's an example usage:
main.py89 chars3 lines
This will output something like:
main.py31 chars2 lines
gistlibby LogSnag