10th Nov 2018, 2:29 PM
Chhotu kumar
Chhotu kumar - avatar
4 Réponses
+ 2
Index 'i' should be in square brackets: new.append(l[i][ : : -1])
10th Nov 2018, 3:06 PM
portpass
+ 2
1) 'new = []' should be before 'while' 2) you skiped i = i +1, so you got the endless loop 3) there is an error in append. Try this: new.append(l[i][ : : -1])
10th Nov 2018, 2:55 PM
portpass
0
Thank you
10th Nov 2018, 3:56 PM
Chhotu kumar
Chhotu kumar - avatar
0
You are welcome
10th Nov 2018, 4:11 PM
portpass