variable name using a for

Alex alx5962NOSPAN at
Tue Mar 2 19:52:18 CET 2004

I would like to create a variable (a string) in 'for' statement with a name
linked to the for value.
Like this:
for y in range(nbSujets):
    name + str(y) = 'abc'

But it doesn't work with Python.... I read the official documentation but I
was not able to find infos about this..
How to make this works please?


More information about the Python-list mailing list