Предмет: Информатика, автор: dashatitarenko2021

Допоможіть будь ласка!!!Payton turtle код намалювати УКРАЇНА дам 80 баллов​

Ответы

Автор ответа: ruskbalne
1

Ответ:

Here is an example of Python Turtle code:

```

import turtle

# Create a turtle object

my_turtle = turtle.Turtle()

# Make the turtle draw a square

for i in range(4):

my_turtle.forward(100)

my_turtle.right(90)

# Draw a circle

my_turtle.circle(50)

# Move the turtle to a new location

my_turtle.penup()

my_turtle.goto(100, 100)

my_turtle.pendown()

# Make the turtle draw a triangle

for i in range(3):

my_turtle.forward(100)

my_turtle.right(120)

# Hide the turtle

my_turtle.hideturtle()

# Display the window

turtle.done()

```

This code creates a turtle object, which can be used to draw shapes on a window. First, the turtle draws a square and a circle, then it moves to a new location and draws a triangle. The code also hides the turtle and displays the window using the `turtle.done()` function.


dashatitarenko2021: це не це
dashatitarenko2021: мені потрібно написати слово україна
ruskbalne: ок
Автор ответа: nastenka6728
0
for i in range (4):
my_turtle.forward (100)
my_turtle.right(90)

my_turtle.circle (50)

my_turtle.penup
my_turtle.goto (100, 100)
my_turtle.pendown

for i in range (3):
my_turtle.forward (100)
my_turtle.right(120)

my_turtle.hideturtle)

turtle.done ()

dashatitarenko2021: зараз провірю
dashatitarenko2021: у дам бали
dashatitarenko2021: мені пише помилка
Похожие вопросы
Предмет: История, автор: denissirik
Предмет: Математика, автор: denstarish
Предмет: Алгебра, автор: martsenukandrey2007
Предмет: Химия, автор: bondareva34