This commit is contained in:
Justus Kuhlmann 2025-03-31 14:00:24 +00:00
parent dd2bbb5879
commit e4495ccb9f

View file

@ -1,11 +1,9 @@
def str2list(s):
return s.split(",")
def str2list(string):
return string.split(",")
def list2str(l):
s = l[0]
for it in l[1:]:
s += ',' + it
def list2str(mylist):
s = ",".join(mylist)
return s