@Annvil/

Test

Python (with Turtle)

No description

fork
loading
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import turtle

t = turtle.Turtle()
t.speed(100)
t.penup()

t.goto(-100,0)
t.color("orange", "yellow")

t.pendown()
t.begin_fill()
a = t.heading()
while True:
  t.forward(200)
  t.left(170)
  if a == t.heading():
    break
t.end_fill()
t.penup()

t.left(15)

t.goto(-50,0)
t.color("black", "blue")

t.pendown()
t.begin_fill()
a = t.heading()
while True:
  t.forward(100)
  t.left(160)
  if a == t.heading():
    break
t.end_fill()
t.penup()
result
console