0

Can one please solve the error, this program is not working

import turtle turtle.Screen().bgcolor("black") t=turtle.Turtle() t.speed(10) t.pensize(10) t.penup() def draw_circle(): t.setposition(0,-280) t.pendown() t.begin_fill() t.color('red') t.pencolor("white") t.circle(300) t.end_fill() t.penup() def draw_circle2(): t.pensize(2) t.setposition(0,-230) t.pendown() t.begin_fill() t.color('black') t.circle(250) t.end_fill() t.penup() def draw_A(): t.setposition(30,-110) t.pendown() t.begin_fill() t.color("red") t.pensize(10) t.pencolor("white") t.forward(23) t.backward(123) t.left(60) t.backward(220) t.right(60) t.backward(100) t.right(117) t.backward(710) t.right(63) t.backward(110) t.right(90) t.backward(510) t.right(90) t.backward(100) t.right(90) t.backward(70) t.end_fill() t.penup() def draw_triangle(): t.pensize(10) t.setposition(53,-40) t.pendown() t.begin_fill() t.color("black")

17th Jul 2022, 7:25 AM
Krishna Bhardwaj
Krishna Bhardwaj - avatar
3 Réponses
+ 3
Sorry to tell you, but the Turtle package is not supported on Sololearn.
17th Jul 2022, 7:36 AM
Brian
Brian - avatar
0
OK Thanks for answering
17th Jul 2022, 7:38 AM
Krishna Bhardwaj
Krishna Bhardwaj - avatar