Let's say I have a list of pairs of numbers, like this:
pts={{4,7},{-5,1/4},{7/12,6},{-1,0}};
I want to output individual points in the form of (4,7), possibly with a space after the comma. This is how students in the US usually see points formatted. So far, the only way I have been able to do it is by building up a string for each point, like this:
"(" <> ToString[#[[1]]] <> ", " <> ToString[#[[2]]] <> ")" & /@ pts
But there are a few problems with this method. First, it doesn't work for fractions, though a more elaborate version might. Second, converting numbers to strings isn't really consistent with the symbolic nature of Wolfram programming.
How should I get the points to output as traditional ordered pairs?
Thanks in advance,
Mark Greenberg