Cathy,
Please take another try at writing your program, using what advice you
have received so far that you understand. I think this discussion is
going rather far away from what you need, and seeing another step in the
evolution of your program should help bring it back on track.
I like your op
On 01/06/2011 12:28 AM, Steven Howe wrote:
On 01/05/2011 07:17 PM, Dave Angel wrote:
On 01/-10/-28163 02:59 PM, GrayShark wrote:
<
In python it's best to build up you functional needs. So two steps.
First
a nand (negative 'and' operation). Then wrap that with a function to
create
two string
On Wed, Jan 5, 2011 at 6:39 PM, Cathy James wrote:
>
> Thank you all for your help.
> 1) I need to list words with uppercase first, then those with lower case; I
> used istitle() and isupper (don't know the method for mixed case yet)
> 2) Steve, it's a compliment that you though I'd undersand you
Apologies if this comes through twice, I'm having problems with my news
client and/or provider.
On Wed, 05 Jan 2011 16:56:40 -0600, GrayShark wrote:
> In python it's best to build up you functional needs. So two steps.
> First a nand (negative 'and' operation). Then wrap that with a function
>
On 01/-10/-28163 02:59 PM, GrayShark wrote:
<
In python it's best to build up you functional needs. So two steps. First
a nand (negative 'and' operation). Then wrap that with a function to create
two strings of your list element, you''re calling 'word'. By the way,
list is reserved word, like
question (Justin Peel)
> 5. Importing modules from miscellaneous folders (Jshgwave)
> 6. Searching Python-list (Slie)
> 7. Re: Interrput a thread (Adam Skutt)
>
>
> ------ Forwarded message ------
> From: GrayShark
> To: python-list@python.org
> Date: Wed, 05
On Wed, 05 Jan 2011 14:58:05 -0500, Terry Reedy wrote:
> On 1/5/2011 12:57 PM, Cathy James wrote:
>
>> I am learning python and came across an excercise where i need to use
>> lists to strip words from a sentence; starting with those containing
>> one or more uppercase letters, followed by words
On 1/5/2011 12:57 PM, Cathy James wrote:
I am learning python and came across an excercise where i need to use
lists to strip words from a sentence; starting with those containing one
or more uppercase letters, followed by words with lower case letters.
When writing code, it is good to start w
You take a sentence and break it up into words, storing it in a list
named "list". Then, for each word in the list, you set list2 to a
boolean value of true or false, depending on the result of isupper() and
istitle(). Note that the variable "list2" does not refer to a list. It
refers to whateve