Putting asterisks around text

todpose at hotmail.com todpose at hotmail.com
Mon Feb 9 14:09:49 EST 2009




From: todpose at hotmail.comTo: python-list at python.orgSubject: Putting asterisks around textDate: Mon, 9 Feb 2009 10:09:26 -0800

I'm trying to write a program that puts asterisks around the input text using while loop.I can do this without using while loop, but how can you do that using while loop?Example:Enter a string: Hello world***********Hello world***********
 
I'm not necessarily asking for an answer. A hint would be grateful as well.
_________________________________________________________________
So many new options, so little time. Windows Live Messenger.
http://www.microsoft.com/windows/windowslive/messenger.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090209/0a677927/attachment.html>


More information about the Python-list mailing list