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 of following became secretary of state as part of the corrupt bargain of 1824
A lawn mower manufacturer incurs a total of $34,816 in overhead costs and $388 per lawn mower in production costs. How many lawn mowers were manufactured if the
it takes 70 oz of grass seed to seed 2800ft of lawn. at this rate, how much would be needed for 3600 ft of lawn?
3 6 4 8 6 12 10 WHAT NUMBER COMES NEXT
You are a historian studying Britain. You believe that a rise in the average British citizen’s income between 1800 and 1850 can be linked to a rise in literacy.
Hawaii is a chain of islands because all the land masses are entirely surrounded by water. A) True B) False
A __________ is a sample of consumers or stores from which researchers take a series of measurements. representative group jury of executive opinion panel surve
what did john locke think about the social contract theory?
The results from research have been known to produce harms to members of the sampled population who do not actually participate in the research study. an exampl
A food handler's duties regarding food