What does the following program print?
count = 10
while count < 21:
print(count, end=" ")
count += 3Consider the following program:
n = 12345
m = 0
while n != 0:
m = (10 * m) + (n % 10)
n //= 10while loop
executed?m and n after the
code is executed?Consider the following code, which has two missing snippets, marked
[[1]] and [[2]].
i = [[1]]
while [[2]]:
i += 1
print(i)Consider the following candidates to replace the missing snippet
[[1]]:
0
1
10
and the following candidates to replace missing snipped
[[2]]:
i < 9
i <= 9
i < 10
i <= 10
To form a complete program, we need to pick a pair of snippets, one
to replace [[1]] and one to replace [[2]].
Consider the following program:
i = 0
while i < 4:
j = 1
while j < 11:
print('*', end='')
j += 1
i += 1
print()*) are printed by the program?i and j at the end
of the program?