andrea7262
andrea7262 andrea7262
  • 22-10-2020
  • Computers and Technology
contestada

What is the output of this program? numA = 10 for count in range(5): numA = numA + 2 print (numA)​

What is the output of this program numA 10 for count in range5 numA numA 2 print numA class=

Respuesta :

WilliamFancyson
WilliamFancyson WilliamFancyson
  • 23-10-2020

Answer:

20

it runs the code 5 times, 10+2+2+2+2+2 basically. E.g 20

Answer Link

Otras preguntas

Solve the given equation. (Enter your answers as a comma-separated list. Let k be any integer. Round terms to three decimal places where appropriate. If there i
What precent of 40 is 28
How do you solve this problem 9.84x+12.48y+0.95x+16.44y
Which statement is supported by the diagram? Homo neanderthalensis is an ancestor of Homo sapiens. Homo erectus is an ancestor of Homo sapiens. Some ancestors
H E L P!!! ASAP :') ( im sorry i keep on asking questions im just bad at math, 20 pts!!1!) The total cost for four people to bowl one game is $21. Each person
evaluate the expression 2+7×(-3)²
Allison is in the business of manufacturing phones. She must pay a daily fixed cost to rent the building and equipment, and also pays a cost per phone produced
2 Select all the correct answers. Which two themes are explored in the poem?
8. Give the temperature that ice melts in all 3 temperature scales?
4 times the sum of m and 5 gives 29