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

понимаю это трудный вопрос поэтому даю 70 балов.
Скажите пожалуйчста алгоритм черепахи для этого узора.​

Приложения:

Ответы

Автор ответа: valgrisa
2

Ответ:

from turtle import *

t = Turtle()

t.screen.setup(500, 100)

t.screen.bgcolor("aqua")

t.hideturtle()

t.up()

t.back(175)

t.down()

for i in range(8):

   t.forward(15)

   t.left(90)

   t.forward(30)

   t.right(90)

   t.forward(30)

   t.right(90)

   t.forward(15)

   t.right(90)

   t.forward(15)

   t.left(90)

   t.forward(15)

   t.left(90)

   t.forward(15)

t.screen.mainloop()

Объяснение:

используем цикл для повторения одинаковых элементов узора

Приложения:

ninarasstegaeva11: сделай пожалуйста на русском языке если получиться дам 100 балов)))
valgrisa: Алгоритм на русском (без заливки фона и вывода черепахи на нужную позицию):
нц 8 раз
вперед(15)
влево(90)
вперед(30)
вправо(90)
вперед(30)
вправо(90)
вперед(15)
вправо(90)
вперед(15)
влево(90)
вперед(15)
влево(90)
вперед(15)
кц
ninarasstegaeva11: спасибо большое приду домой если получиться я отдам балы
ninarasstegaeva11: тут такое дело а как балы переводить я просто новичок )))
Похожие вопросы
Предмет: Английский язык, автор: vdragomir
HELP!!!!
Используйте Present Simple или Present Continuous:
1. He has suffered a great deal of pain. You (not to think) he (to behave) very well, though? 2. "I (to live) up there," she said, indicating the gates. 3.I never (to change) my shoes even when I (to get) my feet wet. 4. "By the way," I asked Arthur, "what Bill (to do) now?" 5. The guard stared at him. "You (to have) a pass?" 6. "Mr. Brown (to play) cards?" he asked. 7.‖Luis (to keep) something secret." "He (not to tell) you every thing?" 8. They will have to stay with us when they (to arrive) here. 9. "And what has become of Mr. Jones?" the man asked. "He (to do) well." 10. "You must forgive me," Mr. Smith said, "but I (not to touch) alcohol." 11. It's no use mumbling at me out of the side of your mouth, and imagining that you (to speak) French. 12. "Dan," she said, turning to her husband with her hand over the mouthpiece, "why your brother (to call) so early?" 13. I (to believe) she (to feel) foolish this morning. 14. If there is one thing I (not to like) on a voyage it is the unexpected. Naturally I (not t o talk) of the sea. The sea (to present) no problem. 15. He will give me a welcome whenever I (to come) here. 16. A very old woman was staring at them intently. "We (to do) something to attract attention?" Grace asked. 17. At the further end of the village (to stand) the medieval church. 18. "I shall go mad if this (to go) on much longer," said Rex. 19.‖Where's Mrs. Hardy?" "Downstairs, Sir. She (to greet) the guests."