Help With Python

Will McGugan news at NOwillmcguganSPAM.com
Wed Jan 26 11:21:59 EST 2005


Judi Keplar wrote:
> I am currently taking a course to learn Python and was looking for 
> some help.  I need to write a Python statement to print a comma-
> separated repetition of the word, "Spam", written 511 times ("Spam, 
> Spam, … Spam").
> 
> Can anybody help me get started?  I am completely new to programming!
> 
> Thanks in advance!

 >>> print "Spam, " * 510 + "Spam"

Will McGugan



More information about the Python-list mailing list