def get_random_from_list(collection):
    random_number = randint(0, len(collection)-1)
    return collection[random_number]

# part = part of speech (noun, verb, etc)
# word = specific word to get a synonym for
# refer to synonyms.json
dataset/ETHPy150Open waharnum/inlibraries.com/in_libraries.py/get_random_from_list/original