Tim Rowe wrote:
> 1. 'input' might not be the best way to get the phrase, because the
> user will have to put the phrase in quotes or the program will
> (probably) crash. Have a look at raw_input.
Gary is using Python 3 where input() works like the raw_input() of yore.
The giveaway is
> print(wo
You're doing well so far. As Chris has said, you need to read the
later part of the question more carefully. A couple of other things:
1. 'input' might not be the best way to get the phrase, because the
user will have to put the phrase in quotes or the program will
(probably) crash. Have a look at
On Tue, Feb 24, 2009 at 4:54 AM, Gary Wood wrote:
> ''' program.
> 1.What type of data will the input be? What type of data will the output be?
> 2.Get the phrase from the user.
> 3.Convert to upper case.
> 4.Divide the phrase into words.
> 5.Initialize a new empty list, letters.
> 6.Get the first
''' program.
1.What type of data will the input be? What type of data will the output be?
2.Get the phrase from the user.
3.Convert to upper case.
4.Divide the phrase into words.
5.Initialize a new empty list, letters.
6.Get the first letter of each word.
7.Append the first letter to the lis