AskMerlin, your AI expert system guru oracle advisor

John Roth johnroth at ameritech.net
Sun Oct 28 21:48:43 EST 2001


"Ron Stephens" <rdsteph at earthlink.net> wrote in message
news:3BDC9411.18C441FA at earthlink.net...
> Ok i want to ask a simple question that I can not figure out yet.
(Even
> though I used and then modified the the line of code below:
>
> x = (self._getGoogleHits(self.question + ' ' + reply))
>                 y = (self._getGoogleHits(reply))
>
> I am not sure what the significance of the (self.question + ' '
+reply) is.
> Specifically, what is the significance of the two quotation marks in
the
> middle? Doe sit just ad a space between the two strings (question and
> reply), or does it do something else? I tried the program without hte
two
> quotes and it didn't seem to change the operation noticeably.


As you assumed, it's a string concatination, and the two quotes
are a one character string.

John Roth

> Ron Stephens
> http://www.awaretek.com
>
>





More information about the Python-list mailing list