I put in a code that I had been using to make a "Pong" game. The code is from here.
I put in
# Creating the Ball
ball = turtle.Turtle()
ball.shape("circle")
ball.color("white")
import turtle
and it said
NameError: name 'turtle' is not defined
What is wrong here, and how do I fix it?
You need to put the
import turtleline first in your code. The others should work.