NeuraQuiz
Categories
Quizzes
Practice
Blog
About
Login
Start Learning
Categories
Quizzes
Practice
Blog
About
Login
Start Learning
Core Python Functions Skill Check Quiz
Python
20:00
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Question 1
of 30
INTERMEDIATE
+1 XP
Previous
Flag
Submit
Next
Navigator
0/30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Submit Quiz
INTERMEDIATE
1 pts
python
🐛 Debug
Loading code snippet...
The following Python code is intended to calculate the average of a list of numbers but contains a bug. Identify the bug and select the correct fix.
A
The bug is in the division, should be multiplication.
B
The bug is in the loop, should add numbers to sum_of_numbers.
C
The bug is in the function definition, should take no arguments.
D
The bug is in the return statement, should return a string.