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

15/60 as a percentage
How do you fins the sum of 2/10 and20/100?
1/4 of a liter is equal to how many mL
A worker is hired for $80 a day on the condition that if business is slow, the worker will only receive half pay.  At the end of 20 days, the worker receives $1
What is a compound word of a foot that is bare. Join two words from the riddle to make a compound word
write two mixed numbers that have a sum of 3
write two mixed numbers that have a sum of 3
Explain why spiders and ticks aren't insects
8a2 + 6a = 5 how do I do this?
Three consecutive even numbers add up to a number between 100 and 120. What might the numbers be?