PCAP • Practice Test 2
Free PCAP practice test — 10 questions with explanations. Set 2. No signup required.
What is the output of the following code?
try:exec('1/0')
except:
print('error')else:
print('no error')finally:
print('done')Choose an answer to begin — your selection is scored in the full session.
10 questions · instant feedback and full explanations after every question.