> Hi. I want to learn how to "break down" a string into its component  
> words, and then process each word somehow.

> Is there a way in Python to separate a string into its component words.

> Like this:
> "I would like to convert an English string (sentence) into Pig Latin."

for word in sentence.split():
    print word



Alan

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to