I was trying to remove an element from multiple lists within a list using .remove() method, which I know works for lists. I also used list comprehension. As an example, consider:
abc = [["a","b"],["a","c"]]
bc = [apple.remove("a") for apple in abc]
print(bc)
It will return the output [None, None]. I am curious why does happen and also what is the method I can use to achieve my desired output of [["b"], ["c"]].