Re: Using the print command in Python3

2010-08-10 Thread Steven D'Aprano
On Tue, 10 Aug 2010 00:17:03 -0500, Grady Knotts wrote: > In earlier versions of Python I can do: > print 'A', > print 'B' > to print everything on the same line: 'A B' > > But I don't know how to do this with Python3 I've been trying things > like: > print('A',) > print('

Re: Using the print command in Python3

2010-08-09 Thread Navkirat Singh
On 10-Aug-2010, at 11:04 AM, Benjamin Kaplan wrote: > On Mon, Aug 9, 2010 at 10:17 PM, Grady Knotts wrote: >> In earlier versions of Python I can do: >>print 'A', >>print 'B' >> to print everything on the same line: 'A B' >> >> But I don't know how to do this with Python3 >> I'v

Re: Using the print command in Python3

2010-08-09 Thread Benjamin Kaplan
On Mon, Aug 9, 2010 at 10:17 PM, Grady Knotts wrote: > In earlier versions of Python I can do: >        print 'A', >        print 'B' > to print everything on the same line: 'A B' > > But I don't know how to do this with Python3 > I've been trying things like: >        print('A',) >        print('