In python you would need to define your function.
The function needs to accept 2 variables, a list and integer.
Then loop the number of times the integer.
generating a random number with in the range and append it to the list.
hope this helps!
9.5m questions
12.2m answers