Keyboard Input 2

Type some letter or number keys. This time you will notice that many keys trigger both kinds of event, resulting in the doubling of letters and numbers. The next program will show you how to handle these events more usefully.