Question: Write a function named buildList that builds a list by appending a given number of random integers from 1 0 0 to 1 9 9
Write a function named buildList that builds a list by appending a given number of random integers from to inclusive. It should accept two parameters the first parameter is the list, and the second is an integer for how many random values to add, which should be input by the user.
Print the list after calling buildList. Sort the list and then print it again.
Sample Run
How many values to add to the list:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
