19def listToString(s: list):
21 ListToString provides converts lists to strings with commas.
22 This function
is written to save
as string type instead of list
26 s (list): Input
as List
29 string: Comma seperated string
43def stringToList(string: str):
45 stringToList provides converts strings to list with commas.
46 This function
is written to save
as list type instead of string
49 string (string): Input
as String
52 list: merge string elements
with comma
54 li = list(string.split(","))