86.5k views
3 votes
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 range(5): numA = numA + 2 print-example-1

1 Answer

3 votes

Answer:

20

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

User Hironori
by
4.6k points