robot #1 You could use the getkey() function, then convert the returned value to the cooriponding ASCII code using the chr() funciton. But this means you would have to change the numbers to strings so you could compare apples to apples.