Neco 2023 Computer Studies Question 32
Practice objective / multiple choice question 32 from the 2023 Neco Computer Studies examination.
Given the Python function:\n\n```python\ndef mystery(m, n):\n count = 0\n for i in range(1, m+1):\n j = i\n while j < n:\n if (i*j) % 3 == 0:\n count += 1\n j += i\n return count\n```\n\nWhat value is returned when the function is called as \(m = 6\) and \(n = 20\)?
Answer Options
About This Question
This is Neco 2023 Computer Studies Question 32. It is one of the objective questions from the 2023 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.