{
number: номер вопроса,
question: "Вопрос",
options: ["Вариант ответа A", "Вариант ответа B", "Вариант ответа C", "Вариант ответа D"],
answer: "Ответ"
}
{
number: номер вопроса,
question: "Вопрос",
options: ["Вариант ответа A", "Вариант ответа B", "Вариант ответа C", "Вариант ответа D"],
answer: "Ответ"
}
import turtle
from random import *
painter = turtle.Turtle()
painter.penup()
painter.goto(-100,100)
painter.pendown()
painter.speed(70)
for i in range(0,15):
painter.write(i)
painter.right(90)
painter.forward(200)
painter.left(180)
painter.forward(200)
painter.right(90)
painter.forward(20)
first=turtle.Turtle()
first.shape("turtle")
first.color("red")
first.penup()
first.goto(-120,70)
first.pendown()
second= turtle.Turtle()
second.shape("turtle")
second.color("blue")
second.penup()
second.goto(-120,40)
second.pendown()
first=0
second=0
while ((first<305) and (second<305)):
first_step = randint(1,5)
first += first_step
first.forward(first_step)
second_step = randint(1,5)
second += second_step
second.forward(second_step)