I found that I can join them with '-'.join(name) but I dont want to add any character. Lets say I have ['stanje1', '|', 'st6', ',' 'stanje2', '|', '#']
and I want to be like this
stanje1|st6,stanje2|#
I found that I can join them with '-'.join(name) but I dont want to add any character. Lets say I have ['stanje1', '|', 'st6', ',' 'stanje2', '|', '#']
and I want to be like this
stanje1|st6,stanje2|#
Just ommit the -:
''.join(name)