Print word from list

eschneider92 at comcast.net eschneider92 at comcast.net
Sat Aug 3 18:17:42 EDT 2013


pie='apple keylime pecan meat pot cherry'
pie.split()

How can I print a word from the list other than this way:  print(pie[0:5])  ?

Thanks in advance.



More information about the Python-list mailing list