Re: Putting asterisks around text

2009-02-17 Thread Josh Dukes
> while understand_problem is False: > study("textbook") > > complete("homework") > > if want_help is True: > study("http://www.catb.org/~esr/faqs/smart-questions.html";) just a note but "if" and "while" evaluate variables as True or False without a verbose test. e.g.: while not underst

RE: Putting asterisks around text

2009-02-11 Thread Barak, Ron
[http://www.emofaces.com/en/emoticons/t/thumbs-up-emoticon.gif] -Original Message- From: D'Arcy J.M. Cain [mailto:da...@druid.net] Sent: Monday, February 09, 2009 20:21 To: todp...@hotmail.com Cc: python-list@python.org Subject: Re: Putting asterisks around text On Mon, 9 Feb 2009

Re: Putting asterisks around text

2009-02-09 Thread Martin
Hi, 2009/2/9 todp...@hotmail.com : > 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* > *

Re: Putting asterisks around text

2009-02-09 Thread Tim Chase
D'Arcy J.M. Cain wrote: On Mon, 9 Feb 2009 10:09:26 -0800 "todp...@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*

Re: Putting asterisks around text

2009-02-09 Thread Tim Rowe
2009/2/9 todp...@hotmail.com : > I'm not necessarily asking for an answer. A hint would be grateful as well. Great. Well, first you need to read: http://www.catb.org/~esr/faqs/smart-questions.html Especially the section on "Before you ask". Then you should be able to give us a question that sho

RE: Putting asterisks around text

2009-02-09 Thread todp...@hotmail.com
From: todp...@hotmail.comto: python-l...@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 l

Re: Putting asterisks around text

2009-02-09 Thread MRAB
D'Arcy J.M. Cain wrote: On Mon, 9 Feb 2009 10:09:26 -0800 "todp...@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

Re: Putting asterisks around text

2009-02-09 Thread D'Arcy J.M. Cain
On Mon, 9 Feb 2009 10:09:26 -0800 "todp...@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 wo

Putting asterisks around text

2009-02-09 Thread todp...@hotmail.com
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***