Closed jamesf1234 closed 3 years ago
Tried a simple piece of code in Jupyter hub. The turtle moves but does not draw a line. Any ideas?
`from ipyturtle import Turtle
Bill = Turtle() Bill.pencolor("Red") Bill.pendown() Bill.forward(100) Bill.right(90) Bill.forward(100) Bill
First this 2 lines in one cell
Bill = Turtle() Bill
than all other commands
After the first two lines the tutrtle exists and the communication between JavaScript and Python works
Tried a simple piece of code in Jupyter hub. The turtle moves but does not draw a line. Any ideas?
`from ipyturtle import Turtle
Bill = Turtle() Bill.pencolor("Red") Bill.pendown() Bill.forward(100) Bill.right(90) Bill.forward(100) Bill
print (Bill.isdown())`