Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
level3-lesson15-diy1
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
76d73008
authored
4 years ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
3479fd84
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
5 deletions
my_t.py
my_yinghua.py
my_t.py
View file @
76d73008
...
...
@@ -39,6 +39,4 @@ pen.penup()
pen
.
backward
(
100
)
pen
.
pendown
()
turtle
.
done
()
This diff is collapsed.
Click to expand it.
my_yinghua.py
View file @
76d73008
...
...
@@ -12,7 +12,6 @@ def tree(n):
pen
.
color
(
'sienna'
)
# 赭(zhě)色
pen
.
pensize
(
n
/
10
)
pen
.
forward
(
n
)
#画出右边树枝并返回
#随机樱花树的树杈的角度
...
...
@@ -23,9 +22,7 @@ def tree(n):
tree
(
n
-
length
)
#向左
pen
.
left
(
2
*
angle
)
tree
(
n
-
length
)
#
pen
.
right
(
angle
)
pen
.
penup
()
pen
.
backward
(
n
)
...
...
This diff is collapsed.
Click to expand it.
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