How comes when Rick presses the up arrow key multiple times it only prints it out once? where as when I press the up arrow key it prints “up arrow key was pressed” every time followed by the new guess;
Im aware that later in the video Rick asks up to tidy up our code and that line is then removed entirely however im curious as to why Rick’s only prints once even though he continuously pressed the up arrow key as per the above screen shot.
Cheers, Tom