Re: Fwd: string concatenate

2008-10-01 Thread D'Arcy J.M. Cain
On Wed, 1 Oct 2008 10:03:50 -0700 (PDT) sandric ionut <[EMAIL PROTECTED]> wrote: > Thank you: >   > but I would like to have them not like: > ['name1', 'name2', 'name3', 'name4', 'name5', 'name6', 'name7',  > 'name8', 'name9'] >   > but like > name1 name2 name3 name4 name5 name6 name7 name8 name9

Re: Fwd: string concatenate

2008-10-01 Thread sandric ionut
t possible?   Ionut - Original Message From: Tommy Grav <[EMAIL PROTECTED]> To: Python List Sent: Wednesday, October 1, 2008 7:50:25 PM Subject: Fwd: string concatenate On Oct 1, 2008, at 12:41 PM, sandric ionut wrote: > Hi: > > I have the following situation: > 

Fwd: string concatenate

2008-10-01 Thread Tommy Grav
On Oct 1, 2008, at 12:41 PM, sandric ionut wrote: Hi: I have the following situation: nameAll = [] for i in range(1,10,1): n = "name" + str([i]) nameAll += n print nameAll I get: ['n', 'a', 'm', 'e', '[', '1', ']', 'n', 'a', 'm', 'e', '[', '2', ']', 'n', 'a', 'm', 'e'