I would like to print one string whenever the up or down keys are pressed. For now, I have written this, but it doesn\'t work and it does not print anything. Does anyone know wh