I have a list of tuples in the format:
(\"some string\", \"string symbol\", some number)
For example, (\"Apples\", \"=\", 10).
(\"Apples\", \"=\", 10)
>>> data= ("Apples", "=", 10) >>> print " ".join(map(str, data)) Apples = 10
Easy. Map the tuple/list to strings, then join them with " ".
" "