Q:

How to remove comma from list in python

thanks for all the help but i read the documentation and found the answer

A:

If its a list as you intended or depicted, you just need to convert the strings to integers. Using built-in map would work for you
>>> some_list = ['1','2','3','4']
>>> map(int, some_list)
[1, 2, 3, 4]

An equivalent List Comprehension solution would be
>>> [int(e) for e in some_list]
[1, 2, 3, 4]

