What is wrong in this code? This code is written to remove numbers from list_m and put them in list_n. Please help. | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 3

What is wrong in this code? This code is written to remove numbers from list_m and put them in list_n. Please help.

https://code.sololearn.com/cq8IG7OUWz1q/?ref=app https://code.sololearn.com/cq8IG7OUWz1q/?ref=app

24th Dec 2018, 9:55 AM
Pankaj Jagtap
Pankaj Jagtap - avatar
4 Antworten
+ 10
Hi Pankaj Jagtap, You have forgotten to make the print() in the last line in this code with a variable.
24th Dec 2018, 9:57 AM
program
program - avatar
24th Dec 2018, 10:40 AM
Artem
Artem - avatar
+ 1
Thanks man. A bit more help please. It worked in Code Playground on this app, but if the same thing I'm trying on PC. It isn't working. list_m gives output as [ 'shyam', 'hello', '2652', 789] And list_n gives output as [ 123,789]
24th Dec 2018, 10:10 AM
Pankaj Jagtap
Pankaj Jagtap - avatar
+ 1
Thank you for your help Artem 😊
26th Dec 2018, 3:56 AM
Pankaj Jagtap
Pankaj Jagtap - avatar