Question: If in Python we define a = [ 1 , 2 ] and b = [ 3 , 4 ] , what will be the

If in Python we define
a=[1,2]
and
b=[3,4],
what will be the result if we enter
a+b?
Note: This is not a math question. It is supposed to highlight the crucial distinction between common sense and python'syntax.
[3,4,1,2]
6,4
1,2,3,4
4,6
If in Python we define a = [ 1 , 2 ] and b = [ 3

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!