• random
  • choice

Choosing elements from a sequence with a non-uniform probability.