Python Quiz
10 questions · no time limit
0:00
DEBUGGING AND TESTING
Question 1 of 10
No time limit
Current
Answered
Flagged
Not seen
PASSAGE
A program produces this traceback: Traceback (most recent call last): File "/app/main.py", line 14, in <module> result = average(records) File "/app/stats.py", line 9, in average return total(values) / len(values) File "/app/stats.py", line 4, in total return sum(float(v) for v in values) File "/app/stats.py", line 4, in <genexpr> return sum(float(v) for v in values) ValueError: could not convert string to float: 'N/A'
Which choice identifies the frame where the exception originated and the exception type?
YOUR PROGRESS
10
QUESTIONS
Ready when you are
Answer in any order. Your progress shows here as you go.
QUESTIONS
KEYBOARD
Pick an answer ABCD
Next question ↵→
Previous ←
Flag for review F