Solved

What Is the Output of the Following Program

Question 13

Multiple Choice

What is the output of the following program?
Data = [2, 3, 9]
Temp = [[x for x in[data]]
For x in range(3) ]
Print (temp)


A) [[[2, 3, 9]], [[2, 3, 9]], [[2, 3, 9]]]
B) [[2, 3, 9], [2, 3, 9], [2, 3, 9]]
C) [[[2, 3, 9]], [[2, 3, 9]]]
D) None of these

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions