subject

Please write this program in Python: Do not answer if you do not know how to.
No links either
New integer list called “numbers”

For loop: from 0 to 10

Add a random integer between 1 and 100 to numbers

Print “Numbers… ”

New String variable output

For each number in numbers

Add the number + a space to output

Print output

average() function

New int variable for the average equal to 0

For each value num in nums

Add num to the average

Return the average / the number of values added

Print an extra line

Print “The average of the above numbers is… ” + average(numbers as parameter)

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 12:30, gerardoblk5931
An atom's diameter is about 0.1 nanometer (1×10-9m), and a human hair is about 1×10-3m. how many times greater is a human hair than an atom's diameter? sorry pushed wronf button but this is math
Answers: 3
image
Computers and Technology, 23.06.2019 02:30, hailey5campbelp7d1c0
What is the power dissipated by a resistor with a current of 0.02 a and a resistance of 1,000 ? a. 200 w b. 20 w c. 0.4 w d. 4 w
Answers: 1
image
Computers and Technology, 24.06.2019 03:00, paguy12
What is one potential problem associated with an organization purchasing new technology early in its lifecycle
Answers: 1
image
Computers and Technology, 24.06.2019 04:30, shadenShaden2037
What is the process in which the software development team compiles information to determine the final product
Answers: 1
You know the right answer?
Please write this program in Python: Do not answer if you do not know how to.
No links either...

Questions in other subjects:

Konu
Chemistry, 04.01.2021 22:50
Konu
Mathematics, 04.01.2021 22:50
Konu
Mathematics, 04.01.2021 22:50
Konu
Mathematics, 04.01.2021 22:50