11 lines
130 B
Python
11 lines
130 B
Python
|
|
|
|
|
|
def str2list(string):
|
|
return string.split(",")
|
|
|
|
def list2str(mylist):
|
|
s = ",".join(mylist)
|
|
return s
|
|
|
|
cached = True
|