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

Jeremy is 16 years old. he’s in the process of figuring out not only his future career goals but also his political viewpoints and his perspectives on religion.
4 1/8 tons of gravel is spread evenly across two and 16 acres. How many tons of gravel earn each acre?
What is the name now for the area of the land bridge that once connected siberia and alaska
The legislature in the state of texas is unique in that it consists solely of a state senate true or false
What job did bank robber jesse james do in the civil war?
Susan makes and sells purses. The purses cost her $12 each to make, and she sells them for $25. This Saturday, she is renting a booth at a craft fair for $60.
Mis padres y hermanos son muy divertidos. me encanta ir de vacaciones con (1.) familia. viajo con (2.) padres y (3.) dos hermanos. tenemos un perro. este año po
what's the nth term for -1,3,7,11?
WHAT ARE THE EFFECTIVENESS AND INEFFECTIVENESS OF THE LOCAL SPORT ASSOCIATION AND PARENTS TEARCHER ASSOCIATION?
The structural innovation of ribbed groin vaults in gothic cathedrals was to accommodate: