Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

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

+4 votes
asked Jan 7, 2019 by Filo4 (230 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

2 Answers

+2 votes
answered Jan 8, 2019 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.
0 votes
answered Jan 14, 2022 by Sam (1,310 points)
go to replit.com where they have a display for turtle commands
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.
...