I am trying to remove a position from an empty list, as a simple example that demonstrates or is trying to remove.
#Test about fruits
fruits = []
fruits.append('maça')
fruits.append('goiaba')
fruits.append('uva')
fruits.append('pera')
fruits.append('bananna')
fruits[1] = []
print (fruits)
Output : ['maça', [], 'uva', 'pera', 'bananna']
Desired output ['maça', 'uva', 'pera', 'bananna']
Just remembering that it is a simple example, so I can apply it in a more robust program that I am developing that presents the same problem of having a "position" in the list with a 'null' or empty value in this case.