Question: Write a Python program that will create a list of 10 random integers in the range 0-100 (inclusive). The program should next compute and display

Write a Python program that will create a list of 10 random integers in the range 0-100 (inclusive). The program should next compute and display the difference between the largest and the smallest value in the list. Please make as similar as possible to the program below

Write a Python program that will create a list of 10 random

import random num_list =[] for n in range (20) : num_list.append (random. randint (10,10) ) product =1 for n in range (20) : product = num_list [n] print (num_list, product)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!