0
l1=[10,20,30] l2=[10,20,30,40,50] if l1 in l2: print("True") else: print("False")
Explain it and output
1 ответ
+ 3
Please do not put code in the title section. Please tag the relevant programming language instead of "i".
You can test the code on sololearn playground (Code section).
The code checks if l1 is an element of l2, which is false as l2 does not have any list as element.