import turtle t=turtle.Turtle() turtle.bgcolor("purple") t.color("black","yellow") def mypos(x,y): t.penup() t.goto(x,y) t.pendown() mypos(0,-100) t.begin_fill() t.circle(150) t.end_fill() mypos(50,100) t.pensize(15) t.forward(50) mypos(-100,100) t.pensize(15) t.forward(50) mypos(-50,0) t.forward(100) t.hideturtle() t.hideturtle() t.penup() t.backward((t.getscreen().window_width() / 2) - 10) message = "subscribe\n nahi kara" t.write(message,move=False, font=('monaco',30,'bold'),align='left') turtle.done()
Comments
Post a Comment