subject

What is the output of this program? Assume the user enters 2, 5, 1, and 6. numA = 0
for count in range(4):
answer = input ("Enter a number: ")
fltAnswer = float(answer)
numA = numA + fltAnswer
print (numA)
Output:

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 04:30
There is a simple pattern for determining if a binary number is odd. what is it and why does this pattern occur? how many bits would you need if you wanted to have the ability to count up to 1000? how high could you count in binary if you used all 10 of your fingers as bits? (finger up means 1, finger down means 0)
Answers: 3
question
Computers and Technology, 23.06.2019 12:00
Which of these is an example of an integrated presentation? a. a table created in powerpoint b. an image pasted into powerpoint c. a caption created in powerpoint d. an excel chart pasted into powerpoint
Answers: 1
question
Computers and Technology, 23.06.2019 23:40
Which of the following calculates the total from the adjacent cell through the first nonnumeric cell by default, using the sum function in its formula? -average -autosum -counta -max
Answers: 1
question
Computers and Technology, 24.06.2019 13:50
Write a program that performs a simple n-body simulation, called "jumping leprechauns." this simulation involves n leprechauns, numberd 1 to n. it maintains a gold value g_i for each leprechaun i, which begins with each leprechaun starting out with a million dollars worth of gold, that is, g_i = 1000000 for each i = 1,. in addition, the simulation also maintains, for each leprachaun,i, a place on the horizon, which is represented as a double-precision floating point number, x_i. in each iteration of the simulation, the simulation processes the leprachauns in order. processing a leprachaun i during its iteration begins by computing a new place on the horizon for i, which is determined by the assignment:
Answers: 3
You know the right answer?
What is the output of this program? Assume the user enters 2, 5, 1, and 6. numA = 0
for count...
Questions
question
Mathematics, 11.09.2020 19:01
question
Physics, 11.09.2020 19:01
question
Mathematics, 11.09.2020 19:01
question
Mathematics, 11.09.2020 19:01
question
History, 11.09.2020 19:01
question
Mathematics, 11.09.2020 19:01
question
Mathematics, 11.09.2020 19:01
question
Mathematics, 11.09.2020 19:01
question
Spanish, 11.09.2020 19:01
question
Mathematics, 11.09.2020 19:01
question
Mathematics, 11.09.2020 19:01
question
Mathematics, 11.09.2020 19:01
question
Social Studies, 11.09.2020 19:01
question
Mathematics, 11.09.2020 19:01
question
Mathematics, 11.09.2020 19:01
question
Mathematics, 11.09.2020 19:01
question
Mathematics, 11.09.2020 19:01
question
Mathematics, 11.09.2020 19:01
question
Mathematics, 11.09.2020 19:01
question
Mathematics, 11.09.2020 19:01
Questions on the website: 13722361