Hello !
I’m trying to change the items of a List in Python.
But I can’t work it.
Pls, help me
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