I would like to select one element from a list using python following the normal distribution. I have a list, e.g.,
alist = ['an', 'am', 'apple', 'cool', 'why']
For example, according to the probability density function (PDF) of normal distribution, the 3rd element in the given list should have the largest probability to be chosen.Any suggestions?