kamwaller25 kamwaller25
  • 10-11-2020
  • Computers and Technology
contestada

What is the output of the following program?
numA = 2
numB = 3
while numA > 0:
numA = numA-1
while numB > 0:
numB = numB-1
print (numA, numB)

What is the output of the following program numA 2 numB 3 while numA gt 0 numA numA1 while numB gt 0 numB numB1 print numA numB class=

Respuesta :

daniellist
daniellist daniellist
  • 12-01-2021

Answer:

1 2

1 1

1 0

Explanation:

i got it wrong for the awnser

Answer Link
rhondawilliam74 rhondawilliam74
  • 18-05-2021

Answer:

1 2

1 1

1 0

Explanation: you must choose the option with the space between 1 and 2 (1 2, 1 1, 1 0) not (12, 11, 10)

Answer Link

Otras preguntas

Which one began in the mid-1900s to encourage youth to start writing music at an early age? a) Gallery Fanfare Program b) Sweet Sounds Program c) Young Compose
What is the value of x? Enter your answer in the box. x =
what is the limiting reactant in the reaction of 12.0 g of SO2 with 8.0 g of H2S and their reaction? what mass of sulfur will be produced?
BRAINLIESTTT ASAP! Which of the following correctly describes the hierarchy that exists in the universe? A galaxy refers to all existing matter, energy, and sp
The law of conservation of energy states that if the system gains heat the surroundings ________?
The term maquiladora is most synonymous​ with: a. ​home-based or cottage industry. b. chinese forced labor camps. c. areas that do not meet u.s. standards for w
What can master statues tell about how developed a society is ?
What increases the ability to see at night? Question 1 options: more cone cells than rod cells an increased number of rod cells an equal number of cone
How many times does 100 go into 1 million?
Why the march on washington was significant?