Fwd: string concatenate
D'Arcy J.M. Cain
darcy at druid.net
Wed Oct 1 13:19:39 EDT 2008
More information about the Python-list mailing list
Wed Oct 1 13:19:39 EDT 2008
- Previous message (by thread): Fwd: string concatenate
- Next message (by thread): string concatenate
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, 1 Oct 2008 10:03:50 -0700 (PDT) sandric ionut <sandricionut at yahoo.com> 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 Slight mod from my previous suggestion then. nameAll = ' '.join(["name%d" % x for x in range(1,10,1)]) Have you gone through the tutorial yet? -- D'Arcy J.M. Cain <darcy at druid.net> | Democracy is three wolves http://www.druid.net/darcy/ | and a sheep voting on +1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
- Previous message (by thread): Fwd: string concatenate
- Next message (by thread): string concatenate
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list