Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

choose the correct numbers in order to have the following output. 3 1 3…

Question

choose the correct numbers in order to have the following output. 3 1 3 2 4 1 4 2 for numx in 3,: for numy in 1,: print (numx, numy)

Explanation:

Step1: Analyze outer - loop values

The outer loop variable numX should take values 3 and 4 to match the first number in each output pair. So the first blank should be 4.

Step2: Analyze inner - loop values

The inner loop variable numY should take values 1 and 2 to match the second number in each output pair. So the second blank should be 2.

Answer:

4, 2