Putting asterisks around text
Barak, Ron
Ron.Barak at lsi.com
Wed Feb 11 02:58:59 EST 2009
[http://www.emofaces.com/en/emoticons/t/thumbs-up-emoticon.gif]
-----Original Message-----
From: D'Arcy J.M. Cain [mailto:darcy at druid.net]
Sent: Monday, February 09, 2009 20:21
To: todpose at hotmail.com
Cc: python-list at python.org
Subject: Re: Putting asterisks around text
On Mon, 9 Feb 2009 10:09:26 -0800
"todpose at hotmail.com" <todpose at hotmail.com> wrote:
> 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***********
while understand_problem is False:
study("textbook")
complete("homework")
if want_help is True:
study("http://www.catb.org/~esr/faqs/smart-questions.html")
--
D'Arcy J.M. Cain <darcy at druid.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20090211/5538433a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: thumbs-up-emoticon.gif
Type: image/gif
Size: 3693 bytes
Desc: thumbs-up-emoticon.gif
URL: <http://mail.python.org/pipermail/python-list/attachments/20090211/5538433a/attachment-0001.gif>
More information about the Python-list
mailing list