As an instance of the rv_discrete class, binom object inherits from it
a collection of generic methods (see below for the full list),
and completes them with details specific for this particular distribution.

The probability mass function above is defined in the “standardized” form.
To shift distribution use the loc parameter.
Specifically, binom.pmf(k,n,p,loc) is identically
equivalent to binom.pmf(k-loc,n,p).