I have the following python code using the module turtle:
import turtle # Import the required library
pg = turtle.Turtle
pg.shape("turtle")
pg.color(255)
pg.forward(100)
pg.backward(50)
pg.left(90)
pg.forward(200)
But I get the following error:
'str' object has no attribute 'turtle' in Python turtle