convert string to number list with python
1. problemHow to convert a string like “1,2,3” or “{1,2,3}” to a number list, like [1,2,3]? 2. solutionstep 1:First of all, we need to find all number in the string. Actually, some of them are integer