i = 0 q = [1] h = [] t = [['4',1],[1,3],[2,3]] length = len(t) for i in range(0,length): h.clear() j = 0 for j in ra | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

i = 0 q = [1] h = [] t = [['4',1],[1,3],[2,3]] length = len(t) for i in range(0,length): h.clear() j = 0 for j in ra

why adding a nested list giving error input? output: [1, [2, 3], [2, 3], [2, 3]]

3rd Oct 2020, 7:33 PM
ravichandra reddy
ravichandra reddy - avatar
1 Answer
+ 6
ravichandra reddy , please post your code in a way that we can read it without problems. the best way is to put it in playground and then link it here. Thanks!
3rd Oct 2020, 8:08 PM
Lothar
Lothar - avatar