Represent function arguments in single structure.
I like to pass argument to a function random.choices It takes argument samples, weights and number of item as k. I have my samples as [ 'red', 'black', 'green'] and weights = [18,18,2]. So I like to assign arguments = ( samples, weights, k=100) and then random.choices(arguments). What is the proper way to represent data structure for arguments as tuple or list does not work. .