l = ["None", "A ','B", "A"]l = [s.replace("'", '') for s in l]print(l)
Standard input is empty
['None', 'A ,B', 'A']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!