Alan Gilfoy wrote:
> Is there a way in Python to separate a string into its component words.
you could do something like this:
>>> x = Is there a way in Python to seperate a string into its compontent words.
>>> x.split()
that would yield:
['Is', 'there', 'a', 'way', 'in', 'Python', 'to', 'separate', 'a', 'string',
'into', 'its', 'component', 'words.']
As far as teh translating to pig latin.....well I honestly don't know.
_______________________________________________
Tutor maillist - Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor