debug the following code: reset code 1 import turtle 2 turtle.getscreen() 3 4 move = int(input(\how far…

debug the following code: reset code 1 import turtle 2 turtle.getscreen() 3 4 move = int(input(\how far should the turtle move?\) 5 6 turtle.forward(move)
Answer
Explanation:
Step1: Identify the error in line 4
The input statement in line 4 is missing a closing parenthesis.
Step2: Correct the code
The correct code for line 4 should be move = int(input("How far should the turtle move?"))
Answer:
The corrected code:
import turtle
turtle.getscreen()
move = int(input("How far should the turtle move?"))
turtle.forward(move)