PCEP • Practice Test 29
Free PCEP practice test — 15 questions with explanations. Set 29. No signup required.
A developer writes a loop to find the first even number in a list:
numbers = [3, 5, 8, 10]
for n in numbers:
if n % 2 == 0:
print(n)break else:
print('No even number')What is printed?
Choose an answer to begin — your selection is scored in the full session.
15 questions · instant feedback and full explanations after every question.