Neco 2020 Computer Studies Question 21
Practice objective / multiple choice question 21 from the 2020 Neco Computer Studies examination.
Consider the following Python program: ``` total = 0 for i in range(1, 7): for j in range(i, 9): if (i + j) % 3 == 0: total += i * j elif i == 4: total -= j print(total) ``` The condition checks whether \( (i + j) \bmod 3 = 0 \). What integer value is displayed when the program is executed?
Answer Options
About This Question
This is Neco 2020 Computer Studies Question 21. It is one of the objective questions from the 2020 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.