import secrets


def randomClosureChoice(bucket:list):
    """
    Return a randomly-chosen element from a list and remove intA.

    Be careful to set bucket = GivenList.copy() to not loose original variable !
    """

    choice = secrets.choice(bucket)
    bucket.remove(choice)
    
    return choice