I tried to make a turtle but it doesn't work.

0 votes
asked Jan 7 by (190 points)
I tried to make a turtle but it doesn't work. I typed:

from turtle import*
color("blue")
shape("turtle")
speed(10)
pensize(4)
forward(50)
right(90)
forward(50)
right(90)
forward(50)
right(90)
forward(50)

but it does not work

1 Answer

0 votes
answered Jan 8 by romedtino
I believe you need UI to actually run turtle. onlineGDB does not provide a UI and only executes console programs. Download Python locally on your machine and try it there.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...