import numpy as np
def get_3_factor(*args):
li = list(args)
return (np.random.choice(li, size=2,replace=False,p=[0.1,0.1,0.8]))
get_3_factor(1,2,3).tolist()
import numpy as np
def get_3_factor(*args):
li = list(args)
return (np.random.choice(li, size=2,replace=False,p=[0.1,0.1,0.8]))
get_3_factor(1,2,3).tolist()