subject

Answer in python code: 1) Ask a student to input three different grades for the same subject. Print the highest grade and the average

[ ]
[ ]
[ ]
[ ]
2) Ask a user to input three different color (RED, GREEN, BLUE only). Print out how many colors of each do you have (Ex: You have 1 RED and 2 BLUES, OR you have 3 GREENS, OR you have 1 GREEN and 2 BLUES)

[ ]
[ ]
[ ]
3) (GAME - GUESS a NUMBER) Use the library RANDOM. Generate the random number between 1 and 10. Ask a user to guess number 4 times. If the number is higher than random number print "Your number is higher, you have 3 tries left", if the user guesses number right, print "YOU WON"

[ ]
[ ]
[ ]
[ ]
4) Generate THREE random numbers between 1 and 100. Print each number AND the statement if this number is divisible by THREE. Ex: Generated numbers are 10, 21 and 60. Print "The number 10 is NOT divisible by three, number 21 is divisible by 3, the number 60 is divisible by three"

[ ]
[ ]

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:10
Consider a direct-mapped cache with 216 words in main memory. the cache has 16 blocks of 8 words each. it is a word-addressable computer (rather than a byte-addressable computer which we normally discuss). (a) how many blocks of main memory are there? (b) what is the format of a memory address as seen by the cache, that is, what are the sizes of the tag, cache block, and block offset fields (if they apply)? (c) to which cache block will the memory reference db6316 map?
Answers: 1
question
Computers and Technology, 23.06.2019 22:00
Technician a says engine assemblies can be mounted longitudinally in a chassis. technician b says engine assemblies can be mounted transversely in a chassis. who is correct?
Answers: 2
question
Computers and Technology, 24.06.2019 07:50
Write a defining table and then a program that determines if you can sleep in or not. your program should get all its input from your computer’s clock. on all weekdays (monday through friday) that are not holidays, your program should output “get up! ” on all other days (weekends and holidays), your program should output “sleep in.” the three holidays that your program must check for are january 1 (new year’s day), july 4 (u.s. independence day), and december 25 (christmas). you don’t need to include other holidays in your program because most other holidays do not occur on a fixed day each year.
Answers: 1
question
Computers and Technology, 24.06.2019 09:30
Retype the statements, correcting the syntax errors. system.out.println("num: " + songnum); system.out.println(int songnum); system.out.println(songnum " songs"); note: these activities may test code with different test values. this activity will perform two tests: the first with songnum = 5, the second with songnum = 9. see how to use zybooks.
Answers: 1
You know the right answer?
Answer in python code: 1) Ask a student to input three different grades for the same subject. Prin...
Questions
question
Mathematics, 08.05.2021 01:00
question
English, 08.05.2021 01:00
question
Mathematics, 08.05.2021 01:00
question
Mathematics, 08.05.2021 01:00
question
Mathematics, 08.05.2021 01:00
question
Mathematics, 08.05.2021 01:00
question
Mathematics, 08.05.2021 01:00
Questions on the website: 13722361