3 ms·
I wanted to get everything on the same line; didn't realize the comma would do that.
by madcaptenor 13y ago
I wanted to get everything on the same line; didn't realize the comma would do that.
- smtddr 13y agoUnderstood. Now that I think of it, I did the same thing until someone told me about the comma. Still though, the comma-trick puts spaces in between the numbers. I don't know how to get rid of that.
- michaelhoffman 13y agoYou can hack the internals like this: print q, sys.stdout.softspace = 0 But really, this wart is one of the reasons Python 3 has a new way of printing.