Creating Functions

Create a Function which displays text when a key is pressed.