kittypower822
kittypower822 kittypower822
  • 20-11-2020
  • Computers and Technology
contestada

What is the output of the following program?
numA = 2
while numA < 30:
numA = numA * 5
print(numA)

Respuesta :

vfxdead
vfxdead vfxdead
  • 20-11-2020

Answer:

the output of that code would be invalid syntax since the line,

>>> numA = numA * 5

is not indented.

The output of

>>> numA = 2

>>> while numA < 30:

>>> numA = numA * 5

>>> print(numA)

would be 50.

Answer Link
potatoehead1234 potatoehead1234
  • 30-12-2020

Answer:

Your answer would be 50

Explanation:

Edge 2020

Answer Link

Otras preguntas

What information is required for any in text citation?
A company divides its production into several separate task with different people performing each task this company uses__
plzzzz.... Help me how to do elimination method of any equations... ​
Three types of literature characteristic of the twelfth century are _____. sonnets histories ballads elegies lyrics
Though Martine Luther was a driving factor in the decline of Spain’s power, King Charles V was eventually able to bring him down. True or False. Please help fa
Sun earth and moon. Describe the relationship the sun earth and moon have when examining moon phases from earth and space.
What is the measure of ∠RST?
Helium decays to form lithium. Which equation correctly describes this decay?
convert 8/20 to a percent​
HELP ASAP! WILL MARK BRAINLIST