PCEP Functions, Tuples, Dictionaries and Exceptions • Timed 15 Questions
This is a timed practice session. You have 15 minutes to answer 15 questions — approximately 1 minute per question, matching real PCEP exam pace. Answer every question before time expires.
Time remaining
15:00
Exam-pace drill
Allow 1 minute per question. On the real PCEP exam you have approximately 72 seconds per question — this session trains you to maintain that pace under pressure.
A developer writes a function to calculate the average of a list of numbers, but the function sometimes returns a wrong result when the list contains non-numeric values. What is the best way to handle this?