Hello !
I’m trying to change the items of a List in Python.
But I can’t work it.
Pls, help me
Hello, here is a solution in DS, not in Python (I’m not strong enough, I have to work this way)
Cordially
christian.stan
Try defining Nnew as Nnew = []
instead of {}, as {} is a dictionary, not a list.
Thank you !!!
it looks quite hardcode, use a for loop to append input into the list is much better