Python Turtle - Code a Circle Tutorial

preview_player
Показать описание
Learn how to quickly draw a circle using Python's Turtle module.

~ CODE ~

from turtle import *

speed(0)

penup()
goto(0, -100)
bgcolor("yellow")
color("magenta", "cyan")
pensize(10)

pendown()
begin_fill()
circle(120)
end_fill()

hideturtle()
exitonclick()
Рекомендации по теме
Комментарии
Автор

Thanks! you are great you are wonderful

shaurya
Автор

from turtle import *
speed(0)
penup()
goto(0, -100)
bgcolor("yellow")
color("magenta", "cyan")
pendown()
begin_fill()
circle(120)
end_fill()

rolandmtran
Автор

can someone tell my how to make this circle a variable

chriseccles