Модуль: (Python) Conditional loop statement - WHILE


Задача

2/21

How many times the loop will be executed - 1

Задача

Given a program fragment, determine how many times the body of the while loop is executed and what the value of the variable a is after executing this loop.
The answer must be given in the form <number>;<number>.
For example, if the body of the loop is executed 5 times, and the value of the variable is equal to 10, then the response should include the string 5;10.

If the loop loops, then you need to specify only one word INF.
 
Program fragment
a = 8 b = 12 while a < b: a += 1

Выберите правильный ответ, либо введите его в поле ввода

Комментарий учителя