Which call makes the program respond to keyboard presses?
- screen.listen() together with screen.onkey()
- t.forward()
- turtle.done() only
- screen.onclick()
Answer
A) screen.listen() together with screen.onkey()
onkey() binds functions to keys; listen() gives the window keyboard focus. SLO CS-11-C-03
Computer Science MCQ · More Unit 3: Programming Fundamentals MCQs · Practise