Right. What happens if there aren't four characters in the input? The answer, like most other such problems, is that an exception is raised; we'll find out later how to deal with exceptions.

You may go to the next section.

You may also:

PREVIOUS Go back to the question

OUTLINE  Go up to the outline of lesson 8

David A. Wheeler (dwheeler@dwheeler.com)

The master copy of this file is at "http://www.adahome.com/Tutorials/Lovelace/s8s5r1.htm".