[Tutor] printing answers

Christopher Spears cspears2002 at yahoo.com
Fri Feb 6 11:22:36 EST 2004


> There have been a number of good replies to this
> post. But none of them 
> explain what Christopher was wanting to know - what
> am I dong wrong.
> 
> Well, as you might guess the program is doing
> exactly what you told it to do.
> Take each string and see if it matches (ignoring
> case) any of the strings.
> In the process each string will match itself.
> Therefore you get each string 
> at least once in the output.
> 

Hmmm...Now that I look at the program, I see you are
right!  Thanks for the reply!  The question now is how
do I fix it?  Any hints?

-Chris



More information about the Tutor mailing list