zjfz-2019-s402281/regexp/Task304.py
2020-01-12 16:43:33 +01:00

6 lines
94 B
Python

import re
def split_list(string):
list = re.split(' *, *|:',string)
return list