repl.it
@H00357636/

Draw happy face

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
#H00357636
import turtle as t
t.color("yellow")
t.begin_fill()
t.circle(100)
t.end_fill()
t.speed(5)
t.left(50)
t.penup()
t.color("white")
t.goto(50,110)
t.pendown()
t.begin_fill()
t.circle(20)
t.end_fill()
t.penup()
t.color("white")
t.goto(-20,110)
t.pendown()
t.begin_fill()
t.circle(20)
t.end_fill()
t.penup()
t.setheading(0)
t.goto(0,40)
t.pendown()
t.circle(80,50)
t.penup()
t.setheading(0)
t.goto(0,40)
t.pendown()
t.circle(80,-50)


result
console
?