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