12th Jul 2020, 6:49 AM
Sufia Hashmi
Sufia Hashmi - avatar
7 ответов
+ 2
a=[1,2,3,4,5] b=[1,2,3,4,5] Here,a is same as b Then what is the need of representing two [] square bracket i.e b=[[1,2,3,4,5]]
12th Jul 2020, 7:03 AM
Sufia Hashmi
Sufia Hashmi - avatar
+ 1
Ok Thank you
12th Jul 2020, 7:09 AM
Sufia Hashmi
Sufia Hashmi - avatar
+ 1
Vikash gud example
12th Jul 2020, 7:26 AM
Sufia Hashmi
Sufia Hashmi - avatar
0
it check if the entire array a is in array b. not each value of array a is in b. if b = [1,2,3,4,5,[1,2,3,4,5]] then a in b will be true
12th Jul 2020, 6:53 AM
Taste
Taste - avatar