List1 = ['978-0262133838','978-0262201-629','978-0321758927']print([x.replace('-','') for x in List1])
Standard input is empty
['9780262133838', '9780262201629', '9780321758927']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!