How to generate a continuous string

人言落日是天涯,望极天涯不见家 kelvin.you at gmail.com
Mon Apr 16 06:03:26 EDT 2007


How to generate a continuous string, like this
"aaaaaaaaaaaaaaaaaaaaaaa"
the number of characters is dynamic. Is there a module or function
implement this string ?
such as: duplicate_string(char, num)




More information about the Python-list mailing list