Neco 2020 Computer Studies Question 10
Practice objective / multiple choice question 10 from the 2020 Neco Computer Studies examination.
Write a Python function `prime_digit_sum_square(nums)` that receives a list of integers `nums` and returns the sum of the squares of those numbers that satisfy both conditions: 1. The number itself is prime. 2. The sum of its decimal digits is also a prime number. Using the list `[13, 23, 29, 31, 41, 43, 59, 61, 73, 79]`, what value does the function return? (Do not include any input or output statements; only the function definition and the final returned value are required.)
Answer Options
About This Question
This is Neco 2020 Computer Studies Question 10. 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.