Re: Another Chris Pine Tutorial Question
- From: Robert Klemme <shortcutter@xxxxxxxxxxxxxx>
- Date: Sun, 31 Aug 2008 14:00:33 +0200
On 30.08.2008 22:55, danielj wrote:
However, it asks you to then do this:
• Try writing the above program without using the sort method. A large
part of programming is solving problems, so get all the practice you
can!
Could somebody point me in the right direction, or give me an example
of how that would be possible? I'm racking my brain but I can not
think of a way to do it without using methods and tools that you are
not yet supposed to use at this point in the tutorial (i.e. regex)
The trick I assume Chris is targeting at is to insert words at the correct position. That way your list is always sorted and you do not need an explicit sort operation.
Kind regards
robert
.
- References:
- Another Chris Pine Tutorial Question
- From: danielj
- Another Chris Pine Tutorial Question
- Prev by Date: Re: Another Chris Pine Tutorial Question
- Previous by thread: Re: Another Chris Pine Tutorial Question
- Index(es):
Relevant Pages
|