subject

Write a python program to do the following: (a)use a for loop and a random integer generator to generate 5 random integers in 1 to 9. store the random integers in a list. display the list. (b)use a for loop and a random integer generator to generate 5 random integers in 2 to 8. store the random integers in a second list. display the second list. (c)use a for loop to compare elements in the two lists in pairs, i. e., compare the first elements in both lists, compare the second elements in the both lists, etc. display the larger number in each comparison. the following is an example. there is no user input in this program.

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 11:30, genyjoannerubiera
What does a cascading style sheet resolve a conflict over rules for an element? a. the rule affecting the most content wins b. the rule affecting the most content loses c. the rule with the most specific selector loses d. the rule with the most specific selector wins
Answers: 2
image
Computers and Technology, 22.06.2019 22:50, cheyennecarrillo14
Which is the best minecraft server? a. mineplex b. worldonecraft c. 9b9t d. 2b2t
Answers: 2
image
Computers and Technology, 23.06.2019 22:30, ghari112345
Jamie has to enter the names, employee id’s, and income of a group of employees into a worksheet. which option will jamie use to describe the data
Answers: 3
image
Computers and Technology, 23.06.2019 22:50, atifgujar
An environmental protection agency study of 12 automobiles revealed a correlation of 0.47 between engine size and emissions. at 0.01 significance level, can we conclude that there is a positive association between the variables? what is the p value? interpret.
Answers: 2
You know the right answer?
Write a python program to do the following: (a)use a for loop and a random integer generator to gen...

Questions in other subjects:

Konu
Chemistry, 25.02.2021 21:50
Konu
SAT, 25.02.2021 21:50
Konu
English, 25.02.2021 21:50
Konu
Social Studies, 25.02.2021 21:50