Question 10 of 28 from exam 300-835-CLAUTO: Automating Cisco Collaboration Solutions

Question 10 of 28 from exam 300-835-CLAUTO: Automating Cisco Collaboration Solutions

Question

def my function (listofNumbers, b):

totall = b
total2 = 0

for num in listOfNumbers:
if num < 5:
totall +=
else:
total2 +=

return totall

listofNums = [4, 3, 9, 1, 7, 2,
a = my_function(listofNums, 3)
print (a)

9, 0,

6,

8, 5]

Refer to the exhibit.

Which value of "a" is displayed when the Python code is executed?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

B.