Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson5_6
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e791249d
authored
Feb 18, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
1352235e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
98 additions
and
0 deletions
11.py
Untitled-1.py.py
sheep.py
11.py
0 → 100644
View file @
e791249d
import
turtle
turtle
.
penup
()
turtle
.
goto
(
177
,
112
)
turtle
.
pencolor
(
"lightgray"
)
turtle
.
pensize
(
3
)
turtle
.
fillcolor
(
"white"
)
turtle
.
begin_fill
()
turtle
.
pendown
()
turtle
.
setheading
(
80
)
turtle
.
circle
(
-
45
,
200
)
turtle
.
circle
(
-
300
,
23
)
turtle
.
end_fill
()
turtle
.
penup
()
turtle
.
goto
(
-
73
,
230
)
turtle
.
pencolor
(
"lightgray"
)
turtle
.
pensize
(
3
)
turtle
.
fillcolor
(
"white"
)
turtle
.
begin_fill
()
turtle
.
pendown
()
turtle
.
setheading
(
20
)
turtle
.
circle
(
-
250
,
35
)
turtle
.
setheading
(
50
)
turtle
.
circle
(
-
42
,
180
)
turtle
.
setheading
(
-
50
)
turtle
.
circle
(
-
190
,
30
)
turtle
.
circle
(
-
320
,
45
)
turtle
.
circle
(
120
,
30
)
turtle
.
circle
(
200
,
12
)
turtle
.
circle
(
-
18
,
85
)
turtle
.
circle
(
-
180
,
23
)
turtle
.
circle
(
-
20
,
110
)
turtle
.
circle
(
15
,
115
)
turtle
.
circle
(
100
,
12
)
turtle
.
circle
(
15
,
120
)
turtle
.
circle
(
-
15
,
110
)
turtle
.
circle
(
-
150
,
30
)
turtle
.
circle
(
-
15
,
70
)
turtle
.
circle
(
-
150
,
10
)
turtle
.
circle
(
200
,
35
)
turtle
.
circle
(
-
150
,
20
)
turtle
.
setheading
(
-
120
)
turtle
.
circle
(
50
,
30
)
turtle
.
circle
(
-
35
,
200
)
turtle
.
circle
(
-
300
,
23
)
turtle
.
setheading
(
86
)
turtle
.
circle
(
-
300
,
26
)
turtle
.
setheading
(
122
)
turtle
.
circle
(
-
53
,
160
)
turtle
.
end_fill
()
turtle
.
penup
()
turtle
.
goto
(
-
130
,
180
)
turtle
.
pencolor
(
"black"
)
turtle
.
done
()
turtle
.
pensize
(
1
)
turtle
.
fillcolor
(
"black"
)
turtle
.
begin_fill
()
turtle
.
pendown
()
turtle
.
setheading
(
120
)
turtle
.
circle
(
-
28
,
160
)
turtle
.
setheading
(
210
)
turtle
.
circle
(
150
,
20
)
turtle
.
end_fill
()
# 左耳内turtle.penup()turtle.goto(90, 230)turtle.setheading(40)turtle.begin_fill()turtle.pendown()turtle.circle(-30, 170)turtle.setheading(125)turtle.circle(150, 23)turtle.end_fill()# 右手内turtle.penup()turtle.goto(-180, -55)turtle.fillcolor("black")turtle.begin_fill()turtle.setheading(-120)turtle.pendown()turtle.circle(50, 30)turtle.circle(-27, 200)turtle.circle(-300, 20)turtle.setheading(-90)turtle.circle(300, 14)turtle.end_fill()# 左腿内turtle.penup()turtle.goto(108, -168)turtle.fillcolor("black")turtle.begin_fill()turtle.pendown()turtle.setheading(-115)turtle.circle(110, 15)turtle.circle(200, 10)turtle.circle(-18, 80)turtle.circle(-180, 13)turtle.circle(-20, 90)turtle.circle(15, 60)turtle.setheading(42)turtle.circle(-200, 29)turtle.end_fill()# 右腿内turtle.penup()turtle.goto(-38, -210)turtle.fillcolor("black")turtle.begin_fill()turtle.pendown()turtle.setheading(-155)turtle.circle(15, 100)turtle.circle(-10, 110)turtle.circle(-100, 30)turtle.circle(-15, 65)turtle.circle(-100, 10)turtle.circle(200, 15)turtle.setheading(-14)turtle.circle(-200, 27)turtle.end_fill()
\ No newline at end of file
Untitled-1.py.py
0 → 100644
View file @
e791249d
for
i
in
range
(
10
):
print
(
"悟空"
)
\ No newline at end of file
sheep.py
0 → 100644
View file @
e791249d
import
turtle
t
=
turtle
.
Pen
()
t
.
pensize
(
1
)
t
.
speed
(
0
)
t
.
penup
()
t
.
goto
(
110
,
94
)
t
.
setheading
(
80
)
t
.
pendown
()
t
.
circle
(
-
37
,
174
)
t
.
circle
(
-
126
,
61.7
)
t
.
penup
()
t
.
goto
(
110
,
80
)
t
.
pendown
()
t
.
setheading
(
80
)
t
.
fillcolor
(
'black'
)
t
.
begin_fill
()
t
.
circle
(
-
30
,
177
)
t
.
circle
(
-
97
,
60
)
t
.
end_fill
()
t
.
penup
()
t
.
goto
(
-
172
,
177
)
t
.
pendown
()
t
.
setheading
(
20
)
t
.
circle
(
-
265
,
41
)
t
.
setheading
(
70
)
t
.
circle
(
-
40
,
180
)
t
.
setheading
(
-
67
)
t
.
circle
(
-
297
,
58
)
#t.hideturtle()
turtle
.
done
()
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment