0
What is the output of the following Python code?
for i in range(2, 10):
for j in range(2, i):
if i % j == 0:
break
else:
print(i, end=" ")- A2 3 5 7
- B3 5 7
- C2 3 5 7 9
- D4 6 8 9
Correct answer: A
What is the output of the following Python code?
for i in range(2, 10):
for j in range(2, i):
if i % j == 0:
break
else:
print(i, end=" ")