結果 : define probability mass function of a discrete random variable