Ask coding questions

← Back to all posts
Python Turtle not working on IDLE
CoderBean (11)

Turtle isnt working on python IDLE.
My code ~

import turtle

s = turtle.getscreen()
t = turtle.Turtle()

t.fd(100)
t.rt(90)
t.fd(100)
t.rt(90)
t.fd(100)
t.rt(90)
t.fd(100)

it doesnt work... why

Comments
hotnewtop
RYANTADIPARTHI (6001)

it's because your IDLE is python. Not turtle. Install turtle separately in your IDLE. It should work then.

InvisibleOne (2687)

I'm assuming you made this in a turtle repl... if you didn't it probably won't work

CoderBean (11)

@InvisibleOne i said python IDLE so no not a repl. It should work on IDLE

Chocolate16 (36)

everything is working..

CoderBean (11)

@Chocolate16 bro if i say its not working, its not.. turtle isnt working on my IDLE

Chocolate16 (36)

@ChickenTendys what is the error IDLE displaying?