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


Задача

3/21

How many times the loop will be executed - 2

Задача

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 = 32 b = 40 while a < b: a += b

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

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