1import random
2
3# with replacement = same item CAN be chosen more than once.
4# without replacement = same item CANNOT be chosen more then once.
5
6# Randomly select 2 elements from set without replacement and return a list
7random.sample(set_name, 2)