def get_random_choice(alist):
    assert isinstance(alist, list) and len(alist) > 0

    index = get_random_int(len(alist))
    return alist[index]
Handels command line args.
dataset/ETHPy150Open oppia/oppia/utils.py/get_random_choice--crossover with--dataset/ETHPy150Open lmorchard/badg.us/bin/update_site.py/main