Stupid String Question

Fredrik Lundh fredrik at pythonware.com
Wed Mar 21 12:18:56 EST 2001


"Brian & Colleen" wrote:
> What is the pretty way to generate a string of 30 asterisks.

how about:

a = "*" * 30

Cheers /F





More information about the Python-list mailing list