Q12Numerical3 Marks18 Dec 2025
What is the output of the following snippet of code?
```
total = 0
num = 10
while num <= 20:
count = 0
for i in range(1, num + 1):
if num % i == 0:
count += 1
if count == 2:
total += num
num += 1
print(total)
```
Press Enter to check.