On 6/25/07, Miguel Oliveira <[EMAIL PROTECTED]> wrote: > I was looking for a way for the program to respond "good" to any sentence > that would contain the word "fine" in it.
This will work for any string with the string "fine" in it. if "fine" in x: print "Good." -- Jerry -- http://mail.python.org/mailman/listinfo/python-list