import random


def randomstr(valuelist):
    """
    Choose a random item from a list.

    :type valuelist: list
    :param valuelist: The list to choose a random item from.

    :raises IndexError: List not specified.
    """

    # Choose a random item and return it
    return random.choice(valuelist)