Computer Science, asked by ralphrishi, 1 day ago

Q.4 If L1 = [1,2,3] L2= [1, [2,3]] L3 = [1,2,3] Why L1 = = L3 is true and why L1​

Answers

Answered by Squishyoongi
4

Answer:

If L2 and L3 are both parallel to L1, then they are parallel to each other.

This is true. We can prove this using contradiction, i.e., let L2 and L3 are not parallel.

Now, we know that if two lines in a plane are not parallel, then they intersect each other at some point.

Therefore, L2 and L3 intesect each other at some point.

Since, L1 is parallel to L2, then L1 must also intesect L3. But, we have already assumed L1 and L3 are parallel.

This implies that, our assumption that L2 and L3 are not parallel is incorrect.

Hence, L2 and L3 are parallel to each other.

Explanation:

PLEASE MARK ME AS BRAINLIEST

Answered by dashrathsinghssm30
0

L1 = []

L1.append([1, [2, 3], 4])

L1.extend([7, 8, 9])

print(L1[0][1][1] + L1[2])

a) Type Error: can only

Similar questions