8 lines
191 B
Python
8 lines
191 B
Python
"""Functions for use in the dice module."""
|
|
import random
|
|
|
|
|
|
def choose(*choices: str):
|
|
"""Randomly choose an item from the provided multiple choices."""
|
|
return random.choice(choices)
|