IDNLearn.com offers a user-friendly platform for finding and sharing answers. Discover in-depth answers to your questions from our community of experienced professionals.

What is the output for the following program?

for numX in [3,5]:
for numY in [1,2]:
print (numX, numY)

A. 3 1
5 1
3 2
5 2

B. 31
51
32
52

C. 31
32
51
52

D. 3 1
3 2
5 1
5 2