A
Q. What is the output of the following program?
Code:
data = [2, 3, 9]
temp = [[x for x in[data]] for x in range(3)]
print (temp)
temp = [[x for x in[data]] for x in range(3)]
print (temp)
- Correct Answer - Option(A)
- Views: 16
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.