PLEASE HELP ME!
Put the steps in order to produce the output shown below. Assume the indenting will be correct in the program.

2 1
6 1
3 1
2 5
6 5
3 5

1. Line 1
print (numD, numC)
2. Line 2
for numD in [1,5]:
3. Line 3
print (numC, numD)

Respuesta :

tonb

Answer:

for numD in [1,5]:

 for numC in [2,6,3]:

   print (numC, numD)

Explanation:

The given statements cannot produce this output, you need a second for loop! See picture.

Ver imagen tonb