0

Can one please suggest me what error in this coding. this program is not working please help

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:23 AM
Krishna Bhardwaj
Krishna Bhardwaj - avatar
4 ответов
+ 1
you should place the link to your code in description. Description section has limit on characters and it seems like your full code can't fit in it ,also it just looks messy this way
17th Jul 2022, 7:58 AM
Abhay
Abhay - avatar
+ 1
Thanks sir
26th Jul 2022, 2:26 PM
Krishna Bhardwaj
Krishna Bhardwaj - avatar
17th Jul 2022, 8:04 AM
Krishna Bhardwaj
Krishna Bhardwaj - avatar