Neco 2022 Computer Studies Question 8
Practice objective / multiple choice question 8 from the 2022 Neco Computer Studies examination.
Consider the Python function below: ```python def digit_sum_multiples(n): total = 0 for k in range(1, n+1): if k % 4 == 0 and k % 6 != 0: # add sum of decimal digits of k while k > 0: total += k % 10 k //= 10 return total ``` When the function is called with \(n = 50\), what value is returned?
Answer Options
About This Question
This is Neco 2022 Computer Studies Question 8. It is one of the objective questions from the 2022 Neco Computer Studies examination.
Difficulty level: Hard .
Master the Exam!
You've seen a preview, but there are thousands more questions plus AI tutor to break down complex solutions.