Contact: aviboots(AT)netvision.net.il
39,938 questions
51,875 answers
573 users
lst = ['python','java','c','c++', 'c#'] s = '-'.join(lst) print(s) ''' run: python-java-c-c++-c# '''
lst = [1, 2, 'python', 3, 'java', 'c', 4, 'c++', 38.09] s = '-'.join(map(str, lst)) print(s) ''' run: 1-2-python-3-java-c-4-c++-38.09 '''