adrianeLEO21
adrianeLEO21 adrianeLEO21
  • 08-10-2021
  • Computers and Technology
contestada

How many times will the loop body execute?
x = 3
while x >= 0:
X = X - 1

3

4

5

6

How many times will the loop body execute x 3 while x gt 0 X X 1 3 4 5 6 class=

Respuesta :

ItzMeÆXO
ItzMeÆXO ItzMeÆXO
  • 08-10-2021

Answer:

B. 4

Explanation:

Rules :

x = x - 1

if x = 3, so :

x = x - 1

4 = 4 - 1

4 = 3

Option B

Answer Link

Otras preguntas

Why did Chinese believe the Tang struggled with crop failures and government problems?
How did the Tang people gain the Mandate of Heaven?
x-y+z=-4 3x+2y-z=5 -2x+3y-z=15 How do I solve this?
Q14) When you break a bar magnet in half, how many poles does each piece have?
How did the cottage industry end?
Please solve equation -3x2+243=0
find out volume of the solid obtained by rotating the region bounded by the given curves about the specified line. y=lnx, y=1, y=3,x=0; about the y-axis.
Name the physical quantity measured by the velocity-time graph?
When an automotive battery is fully charged,the sulfuric acid and water mixture will have a specific gravity of about
what is abdominal cavity?