Re: [Tutor] word printing issue

2019-06-21 Thread mhysnm1964
Thanks, so much to learn. -Original Message- From: Tutor On Behalf Of Alan Gauld via Tutor Sent: Friday, 21 June 2019 2:26 AM To: tutor@python.org Subject: Re: [Tutor] word printing issue On 20/06/2019 11:44, mhysnm1...@gmail.com wrote: > I have a list of strings that I want to br

Re: [Tutor] word printing issue

2019-06-20 Thread Steven D'Aprano
Hi Sean, Your subject line says "word printing issue", but the body of your email says nothing about an issue printing words. Have you tried print(word)? Further comments and questions below. On Thu, Jun 20, 2019 at 08:44:06PM +1000, mhysnm1...@gmail.com wrote: > I have a list of strings that

Re: [Tutor] word printing issue

2019-06-20 Thread Alan Gauld via Tutor
On 20/06/2019 11:44, mhysnm1...@gmail.com wrote: > I have a list of strings that I want to break them into separate words, and > a combination of words then store them into a list. Example below of a > string: > "Hello Python team". > The data structure: > [ ['Hello'], > ['Hello', 'Python'], > ['

[Tutor] word printing issue

2019-06-20 Thread mhysnm1964
All, I have a list of strings that I want to break them into separate words, and a combination of words then store them into a list. Example below of a string: "Hello Python team". The data structure: [ ['Hello'], ['Hello', 'Python'], ['Hello', 'Python', 'team'], ]'Python'], ]'P