Контрольные задания > What will be displayed on the screen after the following program fragment:
Question: 10/10
What will be displayed on the screen after the following program fragment:
(See image)
Enter number
a = 6
b = a + 4
if b > a or b % 2 == 0:
print(a + 2 * b)
else:
print(b - a * 2)
Back
Вопрос:
What will be displayed on the screen after the following program fragment:
Question: 10/10
What will be displayed on the screen after the following program fragment:
(See image)
Enter number
a = 6
b = a + 4
if b > a or b % 2 == 0:
print(a + 2 * b)
else:
print(b - a * 2)
Back