Ответ:
import turtle
turtle.pensize(7)
turtle.pencolor("green")
turtle.right(90)
turtle.forward(100)
turtle.up()
turtle.left(90)
turtle.forward(45)
turtle.down()
turtle.pencolor("red")
turtle.forward(90)
turtle.pencolor("yellow")
turtle.goto(-300,150)
turtle.goto(200,150)
turtle.pencolor("pink")
turtle.right(135)
turtle.backward (100)
turtle.pencolor("blue")
turtle.right(45)
turtle.pencolor("purple")
turtle.pencolor("gold")
turtle.pencolor("black")
turtle.exitonclick()
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
import turtle
turtle.pensize(7)
turtle.pencolor("green")
turtle.right(90)
turtle.forward(100)
turtle.up()
turtle.left(90)
turtle.forward(45)
turtle.down()
turtle.pencolor("red")
turtle.left(90)
turtle.forward(100)
turtle.up()
turtle.left(90)
turtle.forward(90)
turtle.down()
turtle.pencolor("yellow")
turtle.left(90)
turtle.forward(100)
turtle.left(90)
turtle.up()
turtle.goto(-300,150)
turtle.down()
turtle.pencolor("red")
turtle.forward(100)
turtle.left(90)
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.pencolor("green")
turtle.right(90)
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.left(90)
turtle.forward(100)
turtle.up()
turtle.goto(200,150)
turtle.down()
turtle.pencolor("pink")
turtle.right(135)
turtle.forward(100)
turtle.backward (100)
turtle.pencolor("blue")
turtle.right(45)
turtle.forward(100)
turtle.backward (100)
turtle.pencolor("red")
turtle.right(45)
turtle.forward(100)
turtle.backward (100)
turtle.pencolor("green")
turtle.right(45)
turtle.forward(100)
turtle.backward (100)
turtle.pencolor("purple")
turtle.right(45)
turtle.forward(100)
turtle.backward (100)
turtle.pencolor("gold")
turtle.right(45)
turtle.forward(100)
turtle.backward (100)
turtle.pencolor("black")
turtle.right(45)
turtle.forward(100)
turtle.backward (100)
turtle.pencolor("yellow")
turtle.right(45)
turtle.forward(100)
turtle.backward (100)
turtle.exitonclick()