Avatar ·

Python, from a motorcade to a line

📁 список, кортеж, python

a motorcade {"" "34", "76", "0", "532"} how to pull out the numbers from this motorcade so that when the output does this form?

   34 ,  76 ,  0 ,  532      

I just have thoughts to put on the list, then pull out, but still have quotation marks, how to get rid of them? {, , "" "" 532 "} lst = [] for i in a: lst.append (i) print (lst) [ '' '`` ">' '' ' , '' 34 ', ' 0 ', ' '76' ]