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.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to