6 lines
94 B
Python
6 lines
94 B
Python
|
import re
|
||
|
|
||
|
|
||
|
def split_list(string):
|
||
|
list = re.split(' *, *|:',string)
|
||
|
return list
|