Question: What's the answer? D Question 6 10 pts You need to develop a list of five random integers between 1 and 100. Which of the
What's the answer?
D Question 6 10 pts You need to develop a list of five random integers between 1 and 100. Which of the following examples will achieve this result? O randvals = [random.randint(1,100) for i in range(0,6)] print(randvals) O import random randvals = [random.random(1,100) for i in range(0,5)] print(randvals) O import random randvals = [random.randint(1,100) for i in range(1,6)] print(randvals) O import random randvals = [random.randint(1, 100) for i in range(1,5)] print(randvals) D
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
