Closed donkirkby closed 2 years ago
Tried to undo a turtle move after forcing a new line by changing the pen.
import turtle as t t.forward(50) t.right(90) t.forward(20) t.pensize(5) t.undo() t.undo() t.mainloop()
An error on the turtle canvas:
AttributeError: 'Canvas' object has no attribute 'type'
Draw the horizontal line, but not the vertical one, like the regular turtle does.
Describe the versions of everything you were using:
What I did
Tried to undo a turtle move after forcing a new line by changing the pen.
What happened
An error on the turtle canvas:
What I wanted to happen
Draw the horizontal line, but not the vertical one, like the regular turtle does.
My environment
Describe the versions of everything you were using: