149k views
2 votes
Hi, I need help with 8.6 code practice question 1 edhesive and I was wondering if anyone could help because I'm lost.

Hi, I need help with 8.6 code practice question 1 edhesive and I was wondering if-example-1
User Mavi
by
8.3k points

1 Answer

3 votes

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!

User Xiujun Ma
by
8.6k points