?
What will be the output of the following Python code?
What will be the output of the following Python code?
l1=[1,2,3]
l2=[4,5,6]
[x*y for x in l1 for y in l2]
l1=[1,2,3]
l2=[4,5,6]
[x*y for x in l1 for y in l2]
Join the Discussion
Login to post a comment or share your explanation.
Login