Neco 2024 Computer Studies Question 32
Practice objective / multiple choice question 32 from the 2024 Neco Computer Studies examination.
Consider the following Python program:\\n\\n```python\\nN = 500\\ncount = 0\\nfor i in range(1, N+1):\\n if int(i**0.5) ** 2 == i: # i is a perfect square\\n s = sum(int(d) for d in str(i))\\n if s % 3 == 0:\n count += 1\\nprint(count)\\n```\\nWhat value is printed when the program is executed?
Answer Options
About This Question
This is Neco 2024 Computer Studies Question 32. It is one of the objective questions from the 2024 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.