QUESTION IMAGE
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)
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.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
4, 2